ellenb4t Posted March 29, 2022 Share Posted March 29, 2022 Hi, as of today, I receive a load of php error messages: [29-Mar-2022 13:23:21 Europe/Amsterdam] PHP Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/customer/www/bike4travel.nl/public_html/classes/module/Module.php on line 290 I contacted the hosting provider, they have updated to php 7.4 recently, so something is not working because of that, but I have no clue what (I'm not that technical). Anybody knows where to look? Or how to fix it? Presta 1.6.1.24 Thanks, Ellen Link to comment Share on other sites More sharing options...
Ress Posted March 29, 2022 Share Posted March 29, 2022 Hi, It is clear from the change of the php version. For your prestashop version, you should use a maximum of 7.1 Link to comment Share on other sites More sharing options...
ComGrafPL Posted March 29, 2022 Share Posted March 29, 2022 47 minutes ago, ellenb4t said: Hi, as of today, I receive a load of php error messages: [29-Mar-2022 13:23:21 Europe/Amsterdam] PHP Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/customer/www/bike4travel.nl/public_html/classes/module/Module.php on line 290 I contacted the hosting provider, they have updated to php 7.4 recently, so something is not working because of that, but I have no clue what (I'm not that technical). Anybody knows where to look? Or how to fix it? Presta 1.6.1.24 Thanks, Ellen Like Ress said. Link to comment Share on other sites More sharing options...
ellenb4t Posted March 29, 2022 Author Share Posted March 29, 2022 Thanks! So, it looks like I need to plan an update... but that's scary... It looks like the site is still working and orders are coming through, is there a way I can turn off these messages? So the php_errorlog is no longer created? Link to comment Share on other sites More sharing options...
Ress Posted March 29, 2022 Share Posted March 29, 2022 It is not difficult to change the php version. If you have a cPanel, you can do it very easily, or you can ask your hosting company to do it. Link to comment Share on other sites More sharing options...
ellenb4t Posted March 30, 2022 Author Share Posted March 30, 2022 Hi Ress, yes, that is easy, I know. But our hostingprovider (Siteground) doesn't support it anymore and they have upgraded to 7.4 So, I should start thinking of updating the website, but that's not an easy job I'm afraid. In an ideal world, it's one click... Link to comment Share on other sites More sharing options...
Ress Posted March 30, 2022 Share Posted March 30, 2022 Yes, I mean the php update is simple. Indeed, there is some work to be done to update the store. Good luck with it! Link to comment Share on other sites More sharing options...
JBW Posted March 30, 2022 Share Posted March 30, 2022 Alternatively you can always change you hosting to a company that supports lower PHP versions or switch to your own server. 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