Uncaught ReflectionException: Class log does not exist Laravel 5.2

前端 未结 25 2208
长情又很酷
长情又很酷 2020-11-27 17:15

I am currently trying to clone an existing project of mine from github. After clone I run composer install during the process I receive the following error:

25条回答
  •  感动是毒
    2020-11-27 17:36

    I was typing a CMD in the CLI and accidentally typed it in the app config file. I had to follow this procedure in order to find the problem.

    Solution, how to find problem:

    • make a backup copy of config folder. try to delete one config at a
    • time and try to run composer/artisan command that failed. When you
    • find file that failed - search for a row that can possibly fail.
    • Reason why it is failed is: You use class constant that is not loaded
    • yet. You use class/function that is not loaded yet. etc

    https://laracasts.com/discuss/channels/general-discussion/class-log-does-not-exist?page=2

提交回复
热议问题