I’m in the same boat.
Parse error: syntax error, unexpected ‘[‘ in /nfs/c08/h02/mnt/152325/domains/crossfithud.com/html/wp-content/plugins/toggle-wpautop/toggle-wpautop.php on line 187
Plugin Author
Jonathan Desrosiers
(@desrosj)
Principal Software Engineer & WordPress Core Committer
Thanks for the error report jerryrcole & hanturbo!
I just pushed out a fix in version 1.2.2. Please give that version a test, and let me know if it fixes your issue.
Thanks Jonathan. I can’t even load the website or the admin to update to the new version. Thoughts?
Plugin Author
Jonathan Desrosiers
(@desrosj)
Principal Software Engineer & WordPress Core Committer
I recommend using FTP to delete the toggle-wpautop plugin folder from the server. That should allow you to access the site again. After going to the admin, you will have to re-install the plugin. Then your issue should be fixed.
@hanturbo @jerryrcole Hey guys. I apologize. It looks like PHP Storm automatically converted array() into [] within the plugin which isn’t compatible with php 5.3.
Thank you gentlemen, looks like that fixed the error. Appreciate the quick turn! 🙂
No problem! I’m going to update the build script to validate on older versions so that doesn’t happen again! Sorry for the inconvenience.