Fix for class_exists() expects parameter 1 to be string, array given in Routes.php on line 111