php - Fatal error: Uncaught exception 'ReflectionException' -


i got similar error (uncaught exception 'reflectionexception') when running php codes. had no luck fix yet.

uncaught exception 'reflectionexception' message 'class path.base not exist' in /home/localblu/staging/vendor/laravel/framework/src/illuminate/container/container.php:504 stack trace:   #0 /home/localblu/staging/vendor/laravel/framework/src/illuminate/container/container.php(504): reflectionclass->__construct('path.base')   #1 /home/localblu/staging/vendor/laravel/framework/src/illuminate/container/container.php(428): illuminate\container\container->build('path.base', array)   #2 /home/localblu/staging/vendor/laravel/framework/src/illuminate/foundation/application.php(462): illuminate\container\container->make('path.base', array)  #3 /home/localblu/staging/vendor/laravel/framework/src/illuminate/container/container.php(806): illuminate\foundation\application->make('path.base')  #4 /home/localblu/staging/bootstrap/start.php(11): illuminate\container\container->offsetget('path.base')   #5 /home/localblu/staging/public/index.php(35): require_once('/home/localblu/...')   #6 {main} thrown in /home/localblu/staging/vendor/laravel/framework/src/illuminate/container/container.php on line 504 

and composer.json file:

{ "name": "laravel/laravel", "description": "the laravel framework.", "keywords": ["framework", "laravel"], "license": "mit", "type": "project", "require": {     "laravel/framework": "4.2.*",             "phpunit/phpunit": "3.7.*",     "davejamesmiller/laravel-breadcrumbs": "~2.3" }, "autoload": {     "classmap": [         "app/commands",         "app/controllers",         "app/models",         "app/database/migrations",         "app/database/seeds",         "app/tests/testcase.php"     ] }, "scripts": {     "post-install-cmd": [         "php artisan clear-compiled",         "php artisan optimize"     ],     "post-update-cmd": [         "php artisan clear-compiled",         "php artisan optimize"     ],     "post-create-project-cmd": [         "php artisan key:generate"     ] }, "config": {     "preferred-install": "dist" }, "minimum-stability": "stable" 

}

could guys me on this?

run

 composer dump-autoload 

as mentioned in comment or

 composer dump-autoload -o 

this solved issue me


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -