Hello everyone,
I updated to the newest WordPress Version and now I can´t remove the before installed Facebook Likebox from the Footer anymore.
When I open the Widgets page, I also get this Error Message: “Der Block „avia_fb_likebox“ ist von Fehlern betroffen und funktioniert möglicherweise nicht richtig. Bitte prüfe für weitere Details die Entwicklungswerkzeuge.”
Roughly translates to: “The avia_fb_likebox block is affected by errors and might not work properly. Please check the development tools for further details.”
What can I do to fix this?
Regards
Julian
Hi Julian,
Please try this in your functions.php file:
/**
* With WP 5.8 block editor was introduced to widget page. This is currently not supported by Enfold.
* Based on https://wordpress.org/plugins/classic-widgets/ we disable this feature.
*
* If you want to use the new widget page and use a child theme add in functions.php of the child theme:
*
* $avia_config['use_block_widget_page'] = true;
*
* @since 4.8.4.1
*/
if( ! isset( $avia_config['use_block_widget_page'] ) || $avia_config['use_block_widget_page'] !== true )
{
// Disables the block editor from managing widgets in the Gutenberg plugin.
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' );
// Disables the block editor from managing widgets.
add_filter( 'use_widgets_block_editor', '__return_false' );
}
Or install this plugin: https://wordpress.org/plugins/classic-widgets/.
You could also update the theme to the latest version: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.
Best regards,
Rikard
Thank you Rikard! The classic widgets plugin did the trick!
My problem is solved.
Hi,
Glad Rikard could help! :)
For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/
If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)
Enjoy the rest of your day!
Best regards,
Yigit