• Resolved apexbee

    (@apexbee)


    After updating from 3.19.0 to 3.20.0 I received this error:

    Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /home/content/38/4256738/html/nelsasgardenhut/wp-content/plugins/ml-slider/admin/support/Analytics.php on line 219

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    On that line I can see I used the array shorthand [] instead of array(). I can update that but at the same time, that implies you’re using a fairly old version of PHP on your server, since [] is available in PHP 5.4, so 5+ years old. Can you easily update your PHP version? Version 8 is our not, but you should probably update to version 7.4 or 7.3.

    Thread Starter apexbee

    (@apexbee)

    Thanks for your reply. PHP version is old (5.3) and I cannot update at this time; WordPress version 5.1.8.

    This should be good in 3.20.1 now! Thank you for reporting it

    Thread Starter apexbee

    (@apexbee)

    Yes, that fixed it. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Updating to 3.20.0 causes Parse error: syntax error’ is closed to new replies.