• Resolved oahucentraloffice

    (@oahucentraloffice)


    Aloha!

    Thanks for the great plug-in and all the help in the past. Sadly we seem to have a new problem.

    Our office manager updated the plugin today to ver 2.4.9 and was immediately greeted by a downed site showing:

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/o/a/h/oahuintergroup/html/wordpress/wp-content/plugins/12-step-meeting-list/includes/functions.php on line 866

    The site is running on GoDaddy Linux and I believe it’s using PHP 5.3.

    I checked line 866 and it’s this function:

    //convert the array to UTF-8
    //	array_walk_recursive($meetings, function(&$item, $key) {
    //		if (!mb_detect_encoding($item, 'utf-8', true)) {
    //			$item = utf8_encode($item);
    //		}
    //	});

    I’ve commented it out and that brings the site back up and the plug-in seems to work okay. But, of course, I’m concerned.

    I’m no longer involved with the website on a regular basis but the manager called me and luckily I was able to get things back up. The current team doesn’t necessarily have the skills to go into the code and admittedly PHP isn’t my strong suit either. 🙂

    Thanks!

    Bob

    https://wordpress.org/plugins/12-step-meeting-list/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Bob,

    Thanks for the heads up. I think you might actually be on 5.2, but it doesn’t matter, because we want to support what WordPress supports.

    As of 2.5 I’ve reworded that statement to be compatible with your version. Could you try updating and let me know how it goes?

    Thanks,
    Josh

    Thread Starter oahucentraloffice

    (@oahucentraloffice)

    I just upgraded and it seems to work fine. Thanks for the quick response.

    I did double check the PHP version and it does show 5.3.

    ‘Programming Languages
    Activate/Deactivate Languages
    PHP Version
    PHP 5.3

    Did you know?

    You get PHP for free. PHP 5.3 is our default version. PHP version 5.4 is available and meets our stability and security requirements. Version 5.2 isn’t actively supported.’

    Aloha!

    Bob

    Ok glad to hear it.

    Since it sounds like you’re not involved too much with the site, feel free to pass on my email, info@meetingguide.org, in case the CO manager has problems with the plugin in the future.

    Also would you ask them if they’d be interested in being added to the app? We’ve got 35 intergroups contributing now and the apps have been downloaded 30,000 times, I’m sure some of those people would love to use the app to find a meeting when they visit Oahu! Odds are a few of them probably live there even?

    Thanks,
    Josh

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Update 2.4.9 functions.php throws error (’ is closed to new replies.