Parse error: syntax error, unexpected '['
-
If you don’t get an image and you look into your error logs getting an message like
<b>Parse error</b>: syntax error, unexpected ‘[‘
You should do the following:
Arrays are declared like this:
$children = []
Some PHP-Versions don’t understand this, you should change these to
$children = array()
After you’ve did this, is should work again.
I had this problem in version 1.0.1
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Parse error: syntax error, unexpected '['’ is closed to new replies.