Home › Forums › WoodMart support forum › There has been a critical error on this website.
There has been a critical error on this website.
- This topic has 2 replies, 2 voices, and was last updated 1 year, 1 month ago by
Artem Temos.
-
AuthorPosts
-
March 25, 2024 at 11:01 pm #552166
leejay123ParticipantHello,
I’ve encountered a significant issue with my website application, presenting itself as a critical error specifically when accessing the “Slider-All Items” section. Despite the error message advising me to check my site admin email for further instructions, no corresponding emails regarding this error were found in my inbox. This issue appears exclusively when navigating to the mentioned section, with no similar problems occurring elsewhere on the site, hinting at a potential connection to the theme being utilized.
To provide a clearer picture, the error is demonstrated in a video available at https://jmp.sh/ZqWvA1Cc, where it’s observable within the sliders section. The website is currently running with a minimal setup of plugins: Elementor, Elementor Pro, WooCommerce, and Woodmart Core. After testing with alternative themes, such as TwentyTwenty and Storefront, where the issue did not manifest, it leads me to conclude that the problem may be associated with the Woodmart theme or its child theme.
For the sake of thorough investigation and minimal disruption to the main site (https://vinylmasters-ltd.uk/), I’ve created a clone of my website using the Cloudways application. This test environment, which only activates the essential plugins mentioned earlier and underwent theme switching trials, still exhibits the problem. It’s important to note that all plugins, the theme itself, and the server requirements for the Woodmart theme are fully up to date, ruling out the possibility of outdated components as the cause.
Further insight was provided by the Cloudways support team (https://www.cloudways.com/en/), identifying the problem as a PHP fatal error related to an uncaught TypeError in the explode() function within /wp-admin/includes/post.php at line 1699. This error stems from the function receiving an array instead of a string as its second argument. Efforts to address this issue, including reinstalling WordPress core files, have yet to yield a resolution.
Included within the private section of this communication are the cloned website’s access details and FTP credentials, allowing for any necessary investigative or corrective actions.
Additionally, I have attached the chat transcript with Cloudways support for your reference, offering further context and details on the troubleshooting steps undertaken so far.
I look forward to your expert advice on resolving this critical error to ensure the seamless functionality of my website application.
Attachments:
You must be logged in to view attached files.March 26, 2024 at 12:22 am #552170
leejay123ParticipantDear Woodmart Theme Support Team,
I hope this message finds you well. I am reaching out to share an experience I recently encountered with your theme that I believe could be valuable for your development team and might benefit other users of the Woodmart theme.
After a recent update, I faced a critical error on my website specifically when accessing the “Slider-All Items” section. The error was a PHP fatal error related to an uncaught TypeError in the explode() function within /wp-admin/includes/post.php at line 1699, which occurred because the function received an array instead of a string as its second argument.
My website was running on PHP 8.0, along with a minimal setup of essential plugins including Elementor, Elementor Pro, WooCommerce, and Woodmart Core. After thorough troubleshooting, including theme switching and deactivating plugins, I identified the issue as being related to the Woodmart theme or its child theme. To resolve the issue, I switched the PHP version of my site from 8.0 to 7.4. This change successfully resolved the critical error, allowing the “Slider-All Items” section to function properly once again.
I am aware that the Woodmart theme advertises compatibility with PHP 8.0. Given this experience, I thought it pertinent to bring this to your attention for further investigation. It may be beneficial to review the theme’s compatibility with PHP 8.0, especially concerning the use of functions that may behave differently across PHP versions.
I believe addressing this could enhance the theme’s robustness and prevent similar issues for others, especially as users continue to update their PHP versions for performance and security reasons.
Thank you for your dedication to improving the Woodmart theme. I look forward to any insights you might have on this matter and any potential updates that could further refine compatibility with newer PHP versions.
Please can you kindly advise and look into this for me and provide me with more Information?
March 26, 2024 at 10:25 am #552225
Artem TemosKeymasterHello,
Please update the PHP version to 8.0 or higher on your server so we can see the error and check it for you.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register