• Resolved stevenrl

    (@stevenrl)


    Just installed Atpmic Blocks and got this error and websiste is now down:

    Parse error: syntax error, unexpected T_FUNCTION in /home3/natassf/public_html/norcalmediamuseum.org/wp-content/plugins/atomic-blocks/dist/init.php on line 97

    I have WordPress 5 installed and Hostgator shows its running PHP v 5.6.3

    What do I need to do and why did this happen?

    Thanks for help!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter stevenrl

    (@stevenrl)

    I deleted the plugin folder in FTP and the site is up again. But would still like to know what the conflict was. Thanks.

    Plugin Author atomicblocks

    (@atomicblocks)

    Hi Steven,

    Sorry to hear your site crashed with the update. The issue is likely related to the PHP version. Updating to a modern form of PHP should fix this issue. You’ll want to speak to Hostgator about how to do that.

    In the mean time, I’ll look to see if there are improvements we can make to that function to accommodate older versions of PHP.

    Thread Starter stevenrl

    (@stevenrl)

    Thanks for the reply. I do see that PHP is up to version 7. Not sure why Hostgator is stuck at 5.6. But would think it still would be worthwhile to make the plugin backwards compatible with earlier PHP versions.

    Plugin Author John Parris

    (@mindctrl)

    @stevenrl, that error is related to a PHP feature that was added in PHP 5.3, which was released in 2009.

    I’m not sure why you were getting it if your site is running 5.6, unless Hostgator says you were on 5.6 but you really weren’t.

    Can you install Atomic Blocks again and see if it happens again? I’m curious if the install failed or something weird like that.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘URGENT: Site down with Parse Error on installation’ is closed to new replies.