• Resolved bernietho

    (@bernietho)


    Version 3.0.0 released 3 hours ago caused our site to go down.

    The error in php_errors.log is:
    [13-Jan-2018 21:12:04 UTC] PHP Parse error: syntax error, unexpected ‘[‘ in /var/www/html/wp-content/plugins/post-snippets/src/PostSnippets/Admin.php on line 671

    We’re on EC2, stuck on a very old version of PHP (5.3.29), which may be why the problem wasn’t caught.

    We couldn’t access admin panel. Had to log into ec2 instance and mv wp-content/plugins/post-snippets directory to another name to disable and fix site.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m on it!

    Got it, just a tiny little mistake, used the new array syntax [] instead of the old array(). Corrected in 3.0.2 which is now being deployed to www.ads-software.com.

    You can do one of the following:
    1) Download the new version (3.0.2) from the below link and install that in Plugins > Add New > Upload Plugin.

    2) From Plugins > Add New search for Post Snippets and install it.

    3) Download the new version (3.0.2) from the below link, unzip the file and upload it via FTP to wp-content/plugins/post-snippets.

    You shouldn’t lose any data.

    Let me know if you run into anything else!

    • This reply was modified 7 years, 2 months ago by davdebcom.
    • This reply was modified 7 years, 2 months ago by davdebcom. Reason: You'll need version 3.0.2!
    Thread Starter bernietho

    (@bernietho)

    Thank you for the quick response!

    My pleasure ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Version 3.0.0 Breaks PHP 5.3.29 site’ is closed to new replies.