-
Frank3011
Buongiorno,
sono alla terza nuova installazione di WordPress e conseguentemente di GeneratePress theme, GP Premium et cetera.
Da un paio di giorni riscontro questo errore ogni qual volta entro nella sezione Widget – Il plugin “generatepress-content-width” ha causato un errore e non può essere visualizzato. – di seguito il link allo screenshot https://prnt.sc/AbRHWVgOq4S_
Il sito è nuovissimo, ancora senza articoli.
In tutta sincerità non ho riscontrato problemi, ma non vorrei compromettere il mio lavoro, dato che si tratta di un sito web di news locali abbastanza importante. Per cui vorrei capire se posso continuare o c’è il rischio che salti tutto.
Grazie davvero. -
Alvind
Hi there,
We’re aware of the issue and are still investigating it. It’s been a bit tricky to debug since we haven’t been able to replicate it on our test site.
As a temporary fix, you can use this snippet:
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 } } );Adding PHP: https://docs.generatepress.com/article/adding-php/
-
Frank3011
Thanks for the suggestion, Alvind, I’ll give it a try
-
Alvind
Sure, let us know how it goes!
-
Frank3011
Thanks Alvid, I solved it.
-
Alvind
Glad to hear that!
- You must be logged in to reply to this topic.