• Resolved mikeyjamjams

    (@mikeyjamjams)


    I installed the latest version of WP-tiles (0.6), but whenever I try an activate it, I receive the following error:

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/21/7609121/html/wp-content/plugins/wp-tiles/wp-tiles.php on line 110

    I haven’t made any modifications to this php, so I’m not sure what needs to be done.

    Here’s the code on lines 109-111

    $plugin = plugin_basename( __FILE__ );
    add_action( "in_plugin_update_message-$plugin", function( $args ) {
        $transient_name = 'wp-tiles_upgrade_notice_' . $args['Version'];

    https://wordpress.org/plugins/wp-tiles/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mike Martel

    (@mike_cowobo)

    Hi, thanks for letting me know!

    Version 0.6 was incompatible with PHP5.2. I fixed that now in 0.6.1. Unfortunately though, the upcoming 1.0 version will require PHP 5.3+.

    Cheers,
    Mike

    Thread Starter mikeyjamjams

    (@mikeyjamjams)

    Thanks! Second question; how can I upgrade to PHP 5.3+ whenever Version 1.0 is out. Is that dependent on my wordpress theme?

    PHP version depends on your hosting settings.
    Your hosting service probably provides a control panel where you should be able to change the PHP version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot update to Latest Version – Parse Error’ is closed to new replies.