Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Glenn Welser

    (@gwelser)

    What version of WordPress are you running?

    Thread Starter krispy42

    (@krispy42)

    WordPress 4.5.3 – MacOS 10.11.5 and also 10.6.8 – latest version of Safari on each.

    Plugin Author Glenn Welser

    (@gwelser)

    Okay, thanks for that info. Would you also happen to know what version of PHP your host is running?

    Thread Starter krispy42

    (@krispy42)

    Not something I get involved with but this is quoted from the help pages:
    “You can use different versions of PHP by changing the extension on the script in question. PHP5 is the default, so to use php5, leave its extension as .php. If you want to use PHP4 with a script, change the extension to .php4”

    The host is Heart Internet, by the way. I’ve just tried another site under a different host. It too has crashed because of sgm with this error message:
    Parse error: syntax error, unexpected ‘[‘ in /home/newportg/public_html/nptphil.org.uk/wp/wp-content/plugins/simple-google-map/includes/class-simple-google-map-loader.php on line 130

    I’ve just checked back to the reply I had from Heart Internet when I first raised the problem:
    Thanks for contacting us. Yes, it related to your plugin(simple-google-map), Please check the error below:
    emmanuel-newport.org.uk [Fri Jun 24 22:25:48 2016] [error] [client 80.90.193.161:38602] AH01215: PHP Parse error: syntax error, unexpected ‘[‘ in /home/sites/emmanuel-newport.org.uk/public_html/public/wp-content/plugins/simple-google-map/includes/class-simple-google -map-loader.php on line 130: /home/sites/emmanuel-newport.org.uk/public_html/public/index.php

    Hope some of this makes sense!

    Plugin Author Glenn Welser

    (@gwelser)

    It does make sense, yes. Thanks!

    It looks like you’re using a slightly older version of PHP, perhaps version 5.3.5. Version 3.2 of SGM uses short array syntax which requires PHP version 5.4.

    I’ve issued an update that removes the short array syntax so it should run for you now.

    Keep in mind, though, WordPress 4.5.3 has a recommended PHP version of 5.6. Take a look here: https://www.ads-software.com/about/requirements/. You may want to reach out to your host and ask them if they have plans to upgrade.

    Anyways, give the plugin another update and let me know if that solves the issue for you. Thanks for reaching out!

    Plugin Author Glenn Welser

    (@gwelser)

    Hey krispy42,
    I’m going to mark this thread as resolved. Do you let us know if you have any other issues. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘sgm crashes site’ is closed to new replies.