You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With PHP7.0.30, we have a warning bug : ( ! ) Warning: get_class() expects parameter 1 to be object, null given in /usr/share/nginx/html/projectname/vendor/snowair/phalcon-debugbar/src/DataCollector/RouteCollector.php on line 59
Bug Line : $result['Controller'] = get_class( $controller_instance = $dispatcher->getActiveController());
With PHP7.0.30, we have a warning bug :
( ! ) Warning: get_class() expects parameter 1 to be object, null given in /usr/share/nginx/html/projectname/vendor/snowair/phalcon-debugbar/src/DataCollector/RouteCollector.php on line 59
Bug Line :
$result['Controller']
= get_class( $controller_instance =$dispatcher->getActiveController());
Fix :
$result['Controller']
= $dispatcher->getActiveController() != null ? get_class( $controller_instance = $dispatcher->getActiveController()) : $controller_instance="";
Thks !
The text was updated successfully, but these errors were encountered: