laravel - Class 'App\Providers\URL' not found when upload to read server -
i upgrade laravel4.2 laravel5.3 , work in localhost when upload server got below errors.
whoops, looks went wrong.
1/1 fatalthrowableerror in appserviceprovider.php line 18: class 'app\providers\url' not found in appserviceprovider.php line 18 @ appserviceprovider->boot() @ call_user_func_array(array(object(appserviceprovider), 'boot'), array()) in container.php line 508 @ container->call(array(object(appserviceprovider), 'boot')) in /var/www/backoffice/vendor/laravel/framework/src/illuminate/foundation/application.php line 769 @ application->bootprovider(object(appserviceprovider)) in /var/www/backoffice/vendor/laravel/framework/src/illuminate/foundation/application.php line 752 @ application->illuminate\foundation\{closure}(object(appserviceprovider), '15') @ array_walk(array(object(eventserviceprovider), object(routingserviceprovider), object(authserviceprovider), object(cookieserviceprovider), object(databaseserviceprovider), object(encryptionserviceprovider), object(filesystemserviceprovider), object(foundationserviceprovider), object(notificationserviceprovider), object(paginationserviceprovider), object(sessionserviceprovider), object(viewserviceprovider), object(htmlserviceprovider), object(excelserviceprovider), object(datatablesserviceprovider), object(appserviceprovider), object(authserviceprovider), object(eventserviceprovider), object(routeserviceprovider)), object(closure)) in application.php line 753 @ application->boot() in bootproviders.php line 17 @ bootproviders->bootstrap(object(application)) in application.php line 203 @ application->bootstrapwith(array('illuminate\foundation\bootstrap\detectenvironment', 'illuminate\foundation\bootstrap\loadconfiguration', 'illuminate\foundation\bootstrap\configurelogging', 'illuminate\foundation\bootstrap\handleexceptions', 'illuminate\foundation\bootstrap\registerfacades', 'illuminate\foundation\bootstrap\registerproviders', 'illuminate\foundation\bootstrap\bootproviders')) in kernel.php line 253 @ kernel->bootstrap() in kernel.php line 144 @ kernel->sendrequestthroughrouter(object(request)) in kernel.php line 116 @ kernel->handle(object(request)) in index.php line 53
use namespace appserviceprovider.php (/app/providers)
use illuminate\support\serviceprovider;
why use ('app\providers\url') namespace ? remove if not necessary
Comments
Post a Comment