[Help] Webshop error

pafa7a

Well-Known Member
Joined
Jul 9, 2009
Messages
1,398
Reaction score
814
Short array syntax,
PHP:
[]
is only available in PHP5.4+. You need to update your code to use the standard
PHP:
array()
syntax.
Example:
PHP:
private $data = [];
should be
PHP:
private $data = array();
Or just update to PHP 5.4+
 
  • Love
  • Like
Reactions: EddyM and Dea7h