I recently attempted to upgrade my PHP because I am getting warnings that the current one is deprecated, however when I updated to php 8.1, I got a critical error on my website and had to downgrade. I want to upgrade because of the security warnings. Help please. Thanks.Theme version: 9.1.13 WooCommerce version: 8.1.0
Thank you for contacting us and for using XStore.
What exactly critical error did you get? Please check the server error log.
XStore is compatible with PHP 8.1, so the problem can be caused by a 3rd party plugin or something else.
Do you have a staging site where we can check the problem more deeply? Please provide temporary wp-admin and FTP access.
I got a white screen and a message that said critical error on everypage but the homepage.
I do have a staging site and have created an account for you.
We have recently conducted a review of the issue you reported on your staging site. Our findings indicate that the PHP version currently in use on your staging site is 7.4, and the site appears to be functioning correctly. Please refer to the attached screenshots for further details.
We kindly request that you upgrade the PHP version on your staging site to 8.1 and reassess the situation. If the issue persists, we recommend disabling all third-party plugins on your staging site sequentially to identify any potential incompatibilities with PHP version 8.1.
Should the issue continue to persist after these steps, we would appreciate it if you could provide us with the login details and path in CPanel for your staging site. Please share this information in the private content area of this topic. This will enable us to further investigate the issue on your site and provide the necessary assistance.
We look forward to your prompt response.
YEs, I know it is 7.4, I had an issue trying to upgrade. That’s why I submitted this ticket. I already did try and I already provided login in details as the previous rep requested.
We apologize for any confusion in our previous communication. We would like to request the URL and login credentials for the Cpanel of your staging site. This will allow us to attempt a change in the PHP version and further investigate the issue you are experiencing on your site.
Please provide us with the necessary Cpanel login details in the private content area of the topic.
We appreciate your cooperation and look forward to resolving this issue promptly.
Hello @Tony Rodriguez,
No worries. I tried it again and it worked on the staging site so I upgraded PHP on the main site and it crashed again. Let me add, that I first upgraded it to PHP 8.2 and it was fine. Then I saw your note that XStore is compatible with PHP 8.1 so I downgraded it to 8.1 and then it crashed.
It started with the photos not loading and the ninja forms not loading as well. So I went back down to 7.4 and it was fine again.
For some reason, PHP 8.1 is still okay on the staging site.
I was thinking I will wait a week and make sure it’s stable on the staging site then try again. Maybe I messed up by going from PHP 7.4 to 8.2 to 8.1 in less than 15 minutes.
Thank you for the update and for taking the time to troubleshoot this issue. It’s great to hear that it worked on the staging site initially. Upgrading PHP versions can sometimes be a bit tricky, and it seems like there might be some compatibility issues with PHP 8.1 on the main site.
Going from PHP 7.4 to 8.2 to 8.1 in such a short time frame could indeed lead to complications, as different PHP versions can have varying requirements and dependencies.
Your plan to wait a week and ensure stability on the staging site before attempting the upgrade again is a prudent approach. It gives you the opportunity to thoroughly test and identify any potential issues in a controlled environment.
If you encounter any more problems or have further questions during the process, please don’t hesitate to reach out. We’re here to assist and make sure the transition to PHP 8.1 is as smooth as possible.
Hi @Tony Rodriguez,
Quick update. I upgraded to php 8.1 successfully. The issue was that I needed to first update the plugins on the live site. Once I did that, the update worked. Thanks.
The topic ‘My website crashed after upgrading to PHP 8.1’ is closed to new replies.
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.