ReflectionException: Class ClassName does not exist - Laravel

后端 未结 22 1185
无人共我
无人共我 2020-11-29 04:39

As soon, I am typing php artisan db:seed command.

I\'m getting Error Like:

[ReflectionException]
Clas

22条回答
  •  -上瘾入骨i
    2020-11-29 05:06

    If the issue is not resolved by composer dump-autoload or is not a newly created class.

    Check for syntax errors in your class and its traits as well. In my case, there was a syntax error in a Trait, but ReflectionException was shown for the actual Class using that Trait instead.

提交回复
热议问题