Welcome Guest, Not a member yet? Register   Sign In
Fatal error: Cannot access property CI_Exceptions::$ob_level in /var/www/html/system/
#1

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");
Reply
#2

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
Reply




Theme © iAndrew 2016 - Forum software by © MyBB