Can't edit website anymore [fatal error]
Hi BeTheme fans and experts,
I'm owner of the website https://pfalzliebeleih.de/.
I'm not able to edit the page AT ALL anymore.
In my words: After logging into the dashboard, I try to edit a page (e.g. starting page). BeTheme is showing me a completely empty backend.
After trying to edit the website via BeBuilder the email below was sent by Wordpress.
My actions:
- I saw a time lining error. I have corrected the timing error.
- I disabled all plugins to see if there was a conflict.
- I updated BeTheme.
- I updated PHP version to 8.2.
I'm running out of ideas and I still can not edit the start page...
The email (translated from German):
---
Hello!
WordPress has a built-in feature that recognizes when a plugin or theme is causing a fatal error on your site and notifies you with this automated email.
In this case, WordPress has caught an error in your theme "Betheme".
First, visit your website (https://pfalzliebeleih.de/) and check it for visible problems. Next, visit the page where the error occurred (https://pfalzliebeleih.de/wp-admin/post.php?post=28&action=mfn-live-builder) and check if there are any visible problems.
Please contact your hosting company for assistance in investigating this issue further.
If your website appears to be faulty and you can no longer access your dashboard as usual, WordPress now has a special "recovery mode". This allows you to safely log in to your dashboard and investigate further.
To protect your website, this link will expire in 1 day. But don't worry: a new link will be sent to you by email if the error occurs again after the deadline.
If you're looking for help with this issue, you may be asked for some of the following information:
WordPress version 6.4.3
Active theme: BeTheme Child (version )
Current plugin: (Version )
PHP version 7.4.33
Error details
==============
An error of type E_ERROR was caused in line 781 of the file /www/htdocs/w018e7e5/pfalzliebeleih.de/wp-content/themes/betheme/visual-builder/classes/visual-builder-class.php. Error message: Unexpected error: Call of an undefined function sc_shop_products() in /www/htdocs/w018e7e5/pfalzliebeleih.de/wp-content/themes/betheme/visual-builder/classes/visual-builder-class.php:781
Stack trace:
#0 /www/htdocs/w018e7e5/pfalzliebeleih.de/wp-content/themes/betheme/visual-builder/classes/visual-builder-class.php(539): MfnVisualBuilder->getEmptyItems()
#1 /www/htdocs/w018e7e5/pfalzliebeleih.de/wp-content/themes/betheme/functions/admin/class-mfn-helper.php(473): MfnVisualBuilder->fieldsToJS()
#2 /www/htdocs/w018e7e5/pfalzliebeleih.de/wp-content/themes/betheme/visual-builder/classes/visual-builder-class.php(204): Mfn_Helper::generate_bebuilder_items()
#3 /www/htdocs/w018e7e5/pfalzliebeleih.de/wp-includes/class-wp-hook.php(324): MfnVisualBuilder->mfn_append_vb_footer('')
#4 /www/htdocs/w018e7e5/pfalzliebeleih.de/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 /www/htdocs/w018e7e5/pfalzliebeleih.de/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /www/htdocs/w018e7e5/pfalzliebeleih
---
Can someone please support me here?
PW exchange possible after verification.
Thank you very much guys!
Comments
Hi,
Did you try switching from a child theme to parent?
In the error message, I can see that the child theme is active, and it might be the culprit.
Best regards
Hi, I have the same issue. When switching to the parent theme, it works indeed.
How can I continue using the child theme ?
Thanks
Hi @d2btheme,
In our documentation, you can read:
Using a child theme usually means that you want to modify the core theme files. Any mistake in the code may render the page unusable. Please be careful when performing such actions because our support policy does not cover such changes and we will be not able to help you.
This means you should contact your web developer to check the culprit.
Best regards
Fair enough...
I had some lines to deactivate Gutenberg and the new Widget interface :
// Disables the block editor from managing widgets in the Gutenberg plugin.
add_filter( 'gutenberg_use_widgets_block_editor', 'return_false', 100 );
// Disables the block editor from managing widgets. renamed from wp_use_widgets_block_editor
add_filter( 'use_widgets_block_editor', 'return_false' );
I changed them to :
// Disables the block editor from managing widgets in the Gutenberg plugin.
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false', 100 );
// Disables the block editor from managing widgets. renamed from wp_use_widgets_block_editor
add_filter( 'use_widgets_block_editor', '__return_false' );
If that can help somebody !