Parse Error when activating Layers Pro plugin

Asked on May 4, 2017 in Troubleshooting.

I get this error on every page of my site (including wp-admin) after activating the Layers Pro plugin:

Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /var/www/vhosts/ on line 2258

Deactivating the plugin makes the error go away and everything else functions normally. I just purchased and installed Layers Theme and Layers Pro Plugin today, and I don’t have any other plugins activated. Thanks!

nathanfulton Layers User

I’m also having the same problem and getting no help from support. Kinda want a refund…

on May 5, 2017.
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on May 6, 2017.

    Hey Nathan,

    You’ll just need to update your PHP version. You can either email your host or it’s likely you can do it in cPanel if your host supports it.

    If you have further issues you can ping us in the Messenger.