Laravel 5 - Php artisan syntax error

前端 未结 7 1671
清歌不尽
清歌不尽 2021-02-07 07:41

I am currently developing an app with Laravel 5 and suddenly the artisan stoped working!

I can\'t use a single command on it, it always return the error:



        
7条回答
  •  死守一世寂寞
    2021-02-07 07:47

    I've found the error!

    I had a syntax error on my routes.php file...

    function($id,**name**,**value**)
    

    Forgot the $ sign and thus it found a unexpected ','.

    Thank you all for the help!

提交回复
热议问题