A CI application was returning me the following error, after the PHP been updated to 7.3.
I had to change a few lines at config/config.php
function __autoload($class)
{
if(strpos($class, 'CI_') !== 0)
{
@include_once( APPPATH . 'core/'. $class . EXT );
}
}
to
spl_autoload_register(function($class) {
@include_once ( APPPATH . 'core/'. $class . EXT );
});
hey good
very helpful. thanks