Project

General

Profile

Actions

Bug #72117

closed

TYPO3\CMS\Core\Error\AbstractExceptionHandler::handleException() can not handle PHP 7 Errors

Added by Daniel Corn almost 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Start date:
2015-12-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

PHP 7 native Errors seem to create a Fatal Error.

I installed powermail 2.19.0 and now get the following error (both in FE and BE):

Fatal error:  Uncaught TypeError: Argument 1 passed to TYPO3\CMS\Core\Error\AbstractExceptionHandler::handleException() must be an instance of Exception, instance of Error given in .../typo3_src-7.6.0/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php:36
Stack trace:
#0 [internal function]: TYPO3\CMS\Core\Error\AbstractExceptionHandler->handleException(Object(Error))
#1 {main}
  thrown in .../typo3_src-7.6.0/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php on line 36

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Epic #65314: PHP7ClosedAlexander Opitz2015-02-25

Actions
Related to TYPO3 Core - Task #72293: Change first parameter of ExceptionHandlerInterface::handleException to \ThrowableClosedAlexander Opitz2015-12-17

Actions
Actions

Also available in: Atom PDF