Latest

Monday, July 10, 2017

Got error when tried to install "image.intervention" package

Asked by: webHasan


I tried to install image.intervention according to documentation. I used "composer require intervention/image" command.

At one stage of installation, I get error like

"[Symfony\Component\Debug\Exception\FatalThrowableError] Parse error: syntax error, unexpected 'Laravel' (T_STRING), expecting ']

Script php artisan optimize handling the post-update-cmd event returned with error code 1Installation failed, reverting ./composer.json to its original content."

For more details of error see screenshot http://prntscr.com/ftwpcy

After that, I can access my site. Getting 500 error for every page. How can I fix this?



Source

No comments:

Post a Comment

Adbox