Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-26300

Fatal error when going through defaultExceptionHandler with PHP7

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.4.9
    • 5.4.8
    • Legacy stack
    • None

    Description

      Hi

      PHP7 now converts most errors into Error exceptions. This causes a fatal error in eZExecution::defaultExceptionHandler() :

      PHP Fatal error:  Uncaught TypeError: Argument 1 passed to eZExecution::defaultExceptionHandler() must be an instance of Exception, instance of Error given in /home/www/ez5.4-dev_legacy/lib/ezutils/classes/ezexecution.php:180
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            9e9f2c72-d8ff-4ec0-b8df-c5a744234b9a@accounts.ibexa.co Jérôme Vieilledent
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: