Support » Plugin: Go Live Update Urls » Get Syntax Error in T String after updating

  • Resolved lizyd111


    I just updated my Go Live Update URLS and am getting this error:
    Parse error: syntax error, unexpected T_STRING in /home/content/95/8027795/html/wordpress/wp-content/plugins/go-live-update-urls/src/GoLiveUpdateUrls.php on line 335

    Line 335 is:
    $updaters = \Go_Live_Update_Urls\Updaters\Register::get_instance()->get_updaters();

    How do I fix this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello – I’m having the same issue after update! Thanks!

    Plugin Author Mat Lipe


    Can you confirm what version of PHP you are running?
    It may be due to the fact this no longer supports PHP 5.2.
    If that turns out to be the case I can write a conditional into the plugin to prevent errors on old sites.

    Plugin Author Mat Lipe


    Also, in case it take me a bit to get back to you because it’s getting late here, if you change the line to

    $updaters = array();

    It will remove the error and may work just fine on older PHP versions.

    Plugin Author Mat Lipe


    Good morning,

    I have now built in backward compatibility for PHP 5.2.
    Users who are running PHP 5.2 won’t have quite as much functionality but the very basic things should still work and it won’t throw errors.

    I’m marking this as resolved but please let me know if you have any issues with version 4.1.1 of the plugin.

    Thanks Mat – I’ll give this a shot! Also, I have purchased the Pro version, so assuming everything is all good with that piece of the puzzle?

    Hmmmm – just updated and then tried to reactivate and got this error message:

    Parse error: syntax error, unexpected T_STRING in /home2/primarye/public_html/dev/wp-content/plugins/go-live-update-urls/src/Go_Live_Update_Urls_Container.php on line 51

    Plugin Author Mat Lipe



    Sorry for the runaround. It is a bit cumbersome to setup functioning test environment against a PHP version that old.

    I have released version 4.1.2 now which appears to work when using a validator.
    Please report any syntax errors with that one.

    As far as the Pro Version goes that has not been dropped from PHP 5.2 support but it will be soon. It has gotten to the point where it 5.2 is so old that bridging the gap between modern servers running 7.1 and legacy servers running 5.2 in the same plugin, ends up bloating and confusing a codebase.

    My plugins have reached a ceiling I can no longer break through without moving on to a more modern PHP version level. I’m working hard to make sure the plugins don’t throw errors on old servers even when they don’t support new functionality added after the drop of PHP 5.2 support.

    I totally get it – thank you so much for the thorough explanation! We would prefer all of our sites to be running on a more current version of php anyway, so I’ll look into that hosting account.

    I really appreciate the timely and thorough support! 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Get Syntax Error in T String after updating’ is closed to new replies.