Support » Plugin: Metaverse ID » syntax error, unexpected T_STATIC – when reinstalling Metaverse ID
4 years, 9 months ago
After reinstalling the plugin, I got:
Parse error: syntax error, unexpected T_STATIC in /homepages/33/d423758566/htdocs/wp-content/plugins/metaverse-id/metaverses/wow.php on line 109
I have no WoW accounts, so perhaps the reinstall is reading data previously stored (because I have not deleted the whole database) and throwing an error somehow?
What version of PHP are you running ?
5.2.17. Too old?
I’m going to go with yes; “As of PHP 5.3.0, PHP implements a feature called late static bindings which can be used to reference the called class in a context of static inheritance.“
Various bits of Metaverse ID use late-static binding, thus I should really get around to being more specific in the install requirements 😛
Oh all right, Marv 🙂 . Perhaps for the next version of Metaverse ID you can add a warning somewhere that it only works with PHP 5.3.X. (or even check for the PHP version when activating the plugin).
In the mean time, I hope to get my blog back to a server which has 5.3.X installed and this problem will disappear 🙂
Thanks for the time in figuring it out…