• Resolved jessibelle

    (@jessibelle)


    Hey there!

    First, thanks for all your hard work on this awesome plugin — it’s just what we needed!

    Second, I’m trying to install 1.7, but am getting:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/11/7744311/html/preview/wp-content/plugins/12-step-meeting-list/12-step-meeting-list.php on line 31

    I can see in Trac that updates have been made today and yesterday. Might this have something to do with that?

    Thanks again… ??

    https://www.ads-software.com/plugins/12-step-meeting-list/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author AA Web Servant

    (@aasanjose)

    Thanks Jessibelle,

    I think that this error is because you may have a version of PHP < 5.3. Could you do a phpinfo() and check?

    I’ve been meaning to add something to throw a more descriptive error.

    – Josh

    Plugin Author AA Web Servant

    (@aasanjose)

    I just updated the plugin to 1.7.1, which should alert with a nicer error and tell you your PHP version, assuming that’s the problem.

    WordPress advises 5.6 or greater: https://www.ads-software.com/about/requirements/

    Let me know how it goes, I want to make sure everyone who wants to can use the plugin.

    Thread Starter jessibelle

    (@jessibelle)

    Hi again, Josh. ??

    We’re running WordPress 4.4.1 with PHP 5.4, which is as high as GoDaddy will let us go at this time. However, I’m getting a similar error as before, but now on line 35.

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/11/7744311/html/preview/wp-content/plugins/12-step-meeting-list/12-step-meeting-list.php on line 35

    I’m able to activate it, but then every page chokes out with this error. With refreshing, I’m able to get back to the plugin page to deactivate, so that’s cool.

    Are you seeing this error anywhere else?

    Plugin Author AA Web Servant

    (@aasanjose)

    Hmm!!! I’m stumped because it does sound like a < 5.3 error, since it’s pointing to an anonymous function aka closure. I think the easiest way to fix this will just be to remove all these, I’d say there are probably only 20 or so. I’ll do that and let you know, won’t take too long.

    Plugin Author AA Web Servant

    (@aasanjose)

    Hey Jessibelle, try 1.8.2, which I just committed. Let me know! Thanks

    Thread Starter jessibelle

    (@jessibelle)

    Thank you SO MUCH! It’s working perfectly now!

    Once our site is up and running with your awesome plugin, we’ll be sure to drop y’all an email.

    YOU ROCK!!!!

    Plugin Author AA Web Servant

    (@aasanjose)

    Great!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘1.7 is throwing a fatal error’ is closed to new replies.