Support the ongoing development of Laravel.io →
posted 10 years ago
Configuration
Last updated 2 years ago.
0
Solution

Looks like you are running PHP 5.4 or above in your localhost and web host running on 5.3

Last updated 2 years ago.
0

You probably don't have php 5.4 on your production server. Array bracket syntax [] only works with php5.4+

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Joe96 joe96 Joined 28 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.