Critical error on website immediately after updating Betheme to 28.4.1
Hello,
I have just updated Betheme to version 28.4.1, and immediately after the update my website started showing the message:
"There has been a critical error on this website."
This happened right after the theme update. Before that, the website was working normally.
At the moment, the frontend shows only the critical error screen. Please advise what could cause this and what is the safest way to restore the website without losing any content or theme settings.
Website details:
- Theme version: 28.4.1
- WordPress version: [6.9.4]
- PHP version: [8.3.6]
- Child theme: [no]
- Active plugins: [Slider Revolution, WP Mail SMTP, Duplicate Page, Contact Form 7]
Please let me know:
1. whether this issue is already known in version 28.4.1,
2. whether I should temporarily roll back to the previous Betheme version,
3. and whether there is any recommended fix or patch.
Thank you.
Comments
Hey,
Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact, and we will check what the reason might be.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks
Hello,
Thank you for your reply.
While waiting, I managed to resolve the issue myself.
The problem turned out to be related to Betheme calling the WooCommerce function `wc_get_page_id()` even though WooCommerce was not installed / active on the website. This caused a fatal error and a 500 error immediately after updating the theme.
After activating WooCommerce, the website came back online, which clearly confirmed the cause.
So, from my side, this does not look like an isolated website-specific issue, but rather a theme compatibility / dependency handling issue that should ideally be checked in the theme code before release.
Also, for security reasons, I am not comfortable sharing full WordPress dashboard and FTP access with third parties unless it is absolutely necessary. In this case, since I have already identified the cause and restored the website, I do not think that will be needed.
I hope this information is useful for your team, as it may help prevent the same issue for other users.
Thank you.
We already released a new update fixing that. Please check it out.
Best regards
Hello! Where do we get the update? Is there a zip file as I have a default theme running now. When I activate BeTheme, the site crashes. I will send details via the contact form. Thank you.