This is PHP file that is causing the error in trying to access the livescore PHP file in the website
session_start();
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_NAME', 'update_score');
spl_autoload_register(function($class_name) {
require $_SERVER['DOCUMENT_ROOT'] .'/cricinfo/admin/libs/' . $class_name . '.php';
});
?>
spl_autoload error occurs because init PHP file trying to access to the live score PHP file where it suggest that these that these two lines that causing this error.
$active=new activeMatch();
$result1=$active->activeTeam();
Here is the errors