Search code examples
laravelmodel-view-controllerlaravel-5laravel-5.1laravel-5.3

how to solve this exception in laravel ? Symfony\Component\Debug\Exception\FatalThrowableError


I run this command to create model.

php artisan make:model BaseModel

but issue this exception

[Symfony\Component\Debug\Exception\FatalThrowableError]                   
 Parse error: syntax error, unexpected '<<' (T_SL), expecting end of file 

may i know how to handle this issue.


Solution

  • There is a syntax error in your file. Check your routes, blades and controllers and search "<<". I think this is in your blade file.

    <<input..>
    <<div..> 
    etc..