Could you tell me what's on line 383 of helpers.php? Looking at the source it's not on a line that matches any code
https://github.com/laravel/framework/blob/5.0/src/Illuminate/Foundation/helpers.php#L383
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello, I'm trying to deploy my laravel project so I folwed this tuto : http://novate.co.uk/deploy-laravel-5-on-shared-hosting-from-heart-internet/
But now when I'm trying to acces to my index.php page I get this error : 500 Internal Server Error And this is my .htaccess file content :
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
and this is the error in error_log file : [13-May-2015 11:25:08 Europe/Berlin] PHP Parse error: syntax error, unexpected '[' in /home/krizma/neverask/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 383
The problem here is that your PHP version doesn't support the new array syntax [], check the documentation and make sure you have the minimum requirements.
Please or to participate in this conversation.