WASATO Posted December 20, 2013 Share Posted December 20, 2013 When you install a new module or use a new script on PrestaShop and you get this error "T_PAAMAYIM_NEKUDOTAYIM" it means that your PHP version is older than PHP v5.3 To solve the issue you need to update your PHP to at least v5.3 or newer, If you are managing your own server, a simple system update will do the trick. Most server panels and shared hostings have the option to choose the version of PHP to use.- You can search the web or ask you hosting support service directly for more information on how to update your PHP version. Here you can find more information about T_PAAMAYIM_NEKUDOTAYIM http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php Link to comment Share on other sites More sharing options...
vekia Posted December 20, 2013 Share Posted December 20, 2013 let me know where you've got this issue and i will fix it it's common problem, especially in not well coded modules usually problem is related to static functions (doubled colon class::function) Link to comment Share on other sites More sharing options...
ruchit.devil Posted March 3, 2014 Share Posted March 3, 2014 Hi vekia, I get the same error while uploading the module. The link for the module is https://github.com/payzippy/prestashop-plugin Please help me.... Link to comment Share on other sites More sharing options...
WASATO Posted March 3, 2014 Author Share Posted March 3, 2014 Hi vekia, I get the same error while uploading the module. The link for the module is https://github.com/payzippy/prestashop-plugin Please help me.... Hi, To avoid this error, you only need to update PHP to at least v5.3, the problem is that inferior versions of PHP didn’t allow the usage of variables to call static classes, therefore the error. All PHP versions from 5.3 have added this support as it adds a better dynamic usage of PHP. Link to comment Share on other sites More sharing options...
ruchit.devil Posted March 3, 2014 Share Posted March 3, 2014 (edited) Hi, Thanks for replying, Can you tell me how to update the PHP? Edited March 3, 2014 by ruchit.devil (see edit history) Link to comment Share on other sites More sharing options...
WASATO Posted March 3, 2014 Author Share Posted March 3, 2014 Hi, It depends on your server or the panel that you are using. In most cases if you are using a shared hosting you have the option to select the version of PHP that you want to use directly on your panel. Otherwise if you have your own server a simple system update will set the latest php version. In any case who can give you best answer on how to set the latest PHP version will be to ask directly your hosting provider, the have the best information on how to do it. Link to comment Share on other sites More sharing options...
vekia Posted March 3, 2014 Share Posted March 3, 2014 or modify the module core to avoid the static functions (class::function())... but to be honest, it will be much easier to use at least v5.3 of PHP, as WASATO suggested Link to comment Share on other sites More sharing options...
ruchit.devil Posted March 3, 2014 Share Posted March 3, 2014 Thanks WASATO and Vekia. It worked... Link to comment Share on other sites More sharing options...
psor Posted February 27, 2015 Share Posted February 27, 2015 (edited) I will try in my case. Thx for your advice . Karol Salagierski, www.dybala.pl/sklep - this will be my first Prestashop Edited February 27, 2015 by psor (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now