Skip to content

ExceptionHandler not supporting PHP7 Error #88

@martinopic

Description

@martinopic

Hi,

while using JMSDebuggingBundle with a PHP7 project we keep receiving

 Uncaught TypeError: Argument 1 passed to JMS\DebuggingBundle\Kernel\ExceptionHandler::handle() must be an instance of Exception, instance of Error given

That's most likely because PHP7 replaced old error handling system with the new Error Throwable which is not an Exception though (http://php.net/manual/en/class.error.php).

It just seems the bundle is not usable with PHP7 projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions