Try removing 3rd arg to spl_autoload_register