我是新來laravel,並試圖發展一個小網站。我在vm上使用Debian Jessie上的laravel 5.1,運行php 5.6。我已經在代碼中犯了一個錯誤的地方,當我加載網頁,我得到這個錯誤:例外不顯示文件名laravel
Whoops, looks like something went wrong.
1/1 FatalErrorException in 6ca7e2ffd061baf9fd48533797a8e004 line 36: syntax error, unexpected ':', expecting ',' or ';'
in 6ca7e2ffd061baf9fd48533797a8e004 line 36
at FatalErrorException->__construct() in HandleExceptions.php line 133
at HandleExceptions->fatalExceptionFromError() in HandleExceptions.php line 118
at HandleExceptions->handleShutdown() in HandleExceptions.php line 0
...
我假定該6ca7e2ffd061baf9fd48533797a8e004
是一個高速緩存或編譯的一些PHP文件的版本,但我可以很明顯地告訴哪一個。我如何解決這個錯誤?
標記爲答案,如果這有助於你! –