ying
(@yingscarlett)
Hi there,
Do you have a plugin called generatepress-content-width?
No, I don’t have that plugin, I was assuming it’s something built into the GenerateWP theme but I can’t find any info on it.
ying
(@yingscarlett)
I’m not sure what that means either, if you disable all plugins, does the error still occur?
I’ve tried deactivating all plugins and still get the error.
Then I tried to just using the GeneratePress theme instead of the Child theme and still got the error.
I then used Twenty Seventeen theme and the error is gone so it definitely seems like an issue with the GeneratePress theme. I’ll try reinstalling it next.
I tried reinstalling the GeneratePress theme and still get the error. I’m at a loss.
I was able to add this code to the child theme functions.php to disable the widget block editor:
add_filter( ‘use_widgets_block_editor’, ‘__return_false’ );
That got rid of the error.
ying
(@yingscarlett)
Hum… do you have legacy widgets in the widget area? That might be the cause.
I have the same issue how I can get rid of that please guide me step by step.
-
This reply was modified 12 months ago by
mujeeb21.
Hi there,
We’re currently investigating this issue. In the meantime, you can use the following snippet to temporarily disable the feature from the Widgets screen:
add_action( 'admin_footer', function() {
$screen = get_current_screen();
if ( 'widgets' === $screen->base ) {
?>
<script>
wp.domReady( function() {
var unregisterPlugin = wp.plugins.unregisterPlugin;
unregisterPlugin( 'generatepress-content-width' );
} );
</script>
<?php
}
} );
Same here, on a freshly installed WordPress with GeneratePress. Following so I will receive updates about this issue 🙂
Installing the Classic Widgets plugin fixed this for me. It uses the old widget interface, but if you get blocks, you should find it relatively intuitive.
prowebwriter (@prowebwriter)
1 week, 4 days ago
Installing the Classic Widgets plugin fixed this for me. It uses the old widget interface, but if you get blocks, you should find it relatively intuitive.
Gracias, esto funciono para mi.