I was deploying my site via Forge and introduced a syntax error in the console kernel.
I fixed the error, pushed the code and tried to deploy again, but then I get this error:
PHP Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in /home/forge/domain.com/app/Console/Kernel.php on line 33
Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in /home/forge/domain.com/app/Console/Kernel.php on line 33
I am not able to deploy the code because of this error.
What would cause the deploy script to fail because of a syntax error in the PHP code?
Can't deploy Forge site
Hi,
I was deploying my site via Forge and introduced a syntax error in the console kernel.
I fixed the error, pushed the code and tried to deploy again, but then I get this error:
I am not able to deploy the code because of this error.
What would cause the deploy script to fail because of a syntax error in the PHP code?