Fatal error: Cannot access property CI_Exceptions::$ob_level in /var/www/html/system/ - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19) +--- Thread: Fatal error: Cannot access property CI_Exceptions::$ob_level in /var/www/html/system/ (/showthread.php?tid=78449) |
Fatal error: Cannot access property CI_Exceptions::$ob_level in /var/www/html/system/ - planet37533 - 01-21-2021 Please help me to investigate this error. I have same code are deploy on 2 servers . Server1 cant show the right error but Server2 is display Fatal error and can not display actual error. Error on Server1 Error on Server2 // This is code. ini_set('display_errors', 1); error_reporting(-1); printf("INDEX"); $a = $x["a"]; printf("INDEX2"); RE: Fatal error: Cannot access property CI_Exceptions::$ob_level in /var/www/html/system/ - kleber - 01-21-2021 The error on server 1 is simple: you didn't define the variable before in the code. On server 2, I imagine that some server configurations are different from server 1. Read about https://www.php.net/manual/en/function.ob-get-level.php |