• Resolved jpgrandao

    (@jpgrandao)


    Hi there!

    I was trying to activate the “User Menus” plugin but the follow error happen:

    Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or ‘$’ in /home/…/public_html/wp-content/plugins/user-menus/user-menus.php on line 89

    I am using the Vantage theme:
    https://siteorigin.com/theme/vantage/

    I hope you passed through this problem before and solved it!
    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @jpgrandao – This most likely means your site runs on PHP 5.2. This plugin was written in preparation for WP moving to PHP 5.3 as a minimum and as such does not currently support PHP 5.2. This is slated for early next year and will mean that core WordPress itself will start moving in a direction that is not compatible with your servers. Depending on your host you may be able to simply ask them to move your site to a newer server or just to update the version its currently running.

    That said, if you are comfortable with code you could make it work for your site, removing use of Namespaces & static:: class name usage.

    If you decide to do that you will want to disable updates somehow though the plugins features & core workings are very reliable so I don’t for see many bugs or patches needed. It will do whats needed for a long time to come. Only possible new features (if we can ever think of any) will be the reason for an update on this one.

    Sorry I don’t have a better answer. Hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin not activating “/user-menus.php on line 89”’ is closed to new replies.