WordPress.org

Ready to get started?Download WordPress

Forums

Basic Google Maps Placemarks
[resolved] Fatal Error when activating Basic Google Maps Placemarks (5 posts)

  1. marc8012
    Member
    Posted 3 years ago #

    Hi Ian. Thanks for making your BGMP available for WordPress
    available for free. I've just gone to install the latest version on my
    own WordPress site (running 3.1.3) but get the following fatal error
    when I press to activate it:
    Parse error: syntax error, unexpected T_STRING, expecting
    T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in
    <blogURL>/wp-content/plugins/basic-google-maps-placemarks/basic-google-maps-placemarks.php on line 47.

    As you're offering it for free, I'll understand if you
    don't want to provide technical support, but if you have any ideas and
    can spare the time, I'd be grateful. All the best, Marc

    http://wordpress.org/extend/plugins/basic-google-maps-placemarks/

  2. Ian Dunn
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Marc, I'm pretty sure this is because your server is running PHP 4, and the plugin requires PHP 5. The next version of WordPress (which comes out in a couple weeks) will also require PHP 5. You can check if that's the problem by installing one of these plugins:

    If that's the case, then you'll need to ask your hosting company to put you on a newer server. PHP 4 has been obsolete since 2008 and the newer versions have a lot of security fixes, new features, etc.

    I'll make sure the next release handles that issue more gracefully, though, instead of just throwing the fatal error.

  3. Ian Dunn
    Member
    Plugin Author

    Posted 3 years ago #

    Marc e-mailed me saying that PHP 4 was the problem. If anyone else runs into this error, make sure you're running PHP 5.

  4. marc8012
    Member
    Posted 3 years ago #

    Thank you Ian. I'm pleased to say you were correct. Even better, I have been able to upgrade to PHP 5 simply by logging into my 1&1 hosting control panel and changing the 'Global PHP Version' from 4 to 5. My PHP info page had previously displayed 4.4.9; now it displays 5.2.17 and your plugin has installed successfully. Thank you for the tip!

  5. Ian Dunn
    Member
    Plugin Author

    Posted 3 years ago #

    I just released version 1.1.3, which fixes the fatal error. If someone tries to activate the plugin on a PHP4 server they'll get a warning and explanation instead.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic