WordPress.org

Ready to get started?Download WordPress

Forums

Simple Fields Map extension
Won't Activate (6 posts)

  1. 3dnathaniel
    Member
    Posted 1 year ago #

    Parse error: syntax error, unexpected T_FUNCTION in /home/user/public_html/website/wp-content/plugins/simple-fields-map-extension/simple-fields-map-extension.php on line 32

    http://wordpress.org/extend/plugins/simple-fields-map-extension/

  2. Pär Thernström
    Member
    Plugin Author

    Posted 1 year ago #

    The plugin requires php 5.3 or higher. That may not be mentioned in the readme. Sorry about that.

  3. arthurse
    Member
    Posted 1 year ago #

    Is There a way to make it work on PHP 5.2.x ? i can`t update my php version
    I really need this plugin and didnt found anything similar =(
    thanks

  4. bwords84
    Member
    Posted 10 months ago #

    Hi Pär,
    I hope you're well, just trying your plugin.

    Similar problem to the above - when I activate the map extension:
    Parse error: syntax error, unexpected T_FUNCTION in simple-fields-map-extension.php on line 107

    My server is running php 5.3.
    Wordpress Version 3.6
    Simple fields Version 1.4.2
    Map extension Version 1.3.2

    Any advice would be greatly appreciated.
    ** WARNING ** my coding understanding is limited.

    Best wishes,
    Ben

  5. Pär Thernström
    Member
    Plugin Author

    Posted 10 months ago #

    It should work on that setup. The error occurs on a row that uses an anonymous function (see here: https://github.com/EarthPeople/WP-Simple-Fields-Map-Extension/blob/master/simple-fields-map-extension.php#L107), but you have php version 5.3 and then they should work. According to for example this page it's available in 5.3: http://www.toosweettobesour.com/2008/07/21/php-53-and-closures/.

    So.. don't know what I can do to fix this. Can you upgrade your version of PHP and see if that helps?

  6. bwords84
    Member
    Posted 10 months ago #

    Many thanks for getting back to my post so quickly.
    Not to worry, just wondered if you'd come across it before.
    I will keep digging.

    Best wishes,
    Ben

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.