?
avatar osignell
osignell
5 Apr 2016

Steps to reproduce the issue

1) enable error logging in PHP with log_errors=on in php.ini
2) create a fatal error in a component, for example a spelling mistake
3) open a page that loads the component

Expected result

Fatal error logged to the server's error log.

Actual result

No message in the server log, brief error displayed in browser only.

System information (as much as possible)

Joomla 3.5.0, PHP 7.0

Additional comments

I think the changes introduced by #9270 have caused this. I have temporarily fixed this locally by adding the following to doErrorHandling() in plugins/system/redirect/redirect.php:

if (ini_get('log_errors'))
error_log('PHP Fatal error: '.$error->getMessage().' in '.$error->getFile().' on line '.$error->getLine());

avatar osignell osignell - open - 5 Apr 2016
avatar joomla-cms-bot joomla-cms-bot - change - 5 Apr 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 5 Apr 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-04-05 09:14:35
Closed_By brianteeman
avatar brianteeman brianteeman - close - 5 Apr 2016

Add a Comment

Login with GitHub to post a comment