phpmyadmin / error-reporting-server

phpMyAdmin server side component for the error reporting system
MIT License
20 stars 28 forks source link

Undefined variable: developer_signed_in #134

Closed nijel closed 7 years ago

nijel commented 7 years ago

Error from production environment:

Notice (8): Undefined variable: developer_signed_in in [/home/reports/error-reporting-server/src/Template/Layout/default.c
tp, line 95]
Request URL: /incidents/create
Client IP: [hidden]
Trace:
Cake\Error\BaseErrorHandler::handleError() - CORE/src/Error/BaseErrorHandler.php, line 153
include - APP/Template/Layout/default.ctp, line 95
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1011
Cake\View\View::_render() - CORE/src/View/View.php, line 972
Cake\View\View::renderLayout() - CORE/src/View/View.php, line 643
Cake\View\View::render() - CORE/src/View/View.php, line 601
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 623
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 325
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 200
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 137
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 187
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 171
[main] - [internal], line ??
devenbansod commented 7 years ago

Did these come up after merging #133 or were present before? Also, are these coming up after we updated to PHP 7 or were present even before?

nijel commented 7 years ago

They were present before merge. I'm not sure about PHP 7 upgrade, I really didn't look into error log for long time... (I've looked just now to see if it contains reason for https://github.com/phpmyadmin/error-reporting-server/issues/139, but it doesn't... )