since yesterday no visible content in widgets (only text, html)
-
since yesterday no visible content in widgets (only text, html)
I even now can’t edit available widgets.
It works with other themes.
It muss be a theme issue, I tried also in Health Modus without plugins onThe page I need help with: [log in to see the link]
-
Hi @jaroslawistok,
There might be a broken widget block content saved in the db?
Was it working before?
You can install the Classic widget plugin to see if you are able to edit the widgets with that:
https://wordpress.org/plugins/classic-widgets/It worked more than 10 years I guess. I have never seen this before. I only use classic widgets and editor. I dont like this new things on wordpress without asking us 🙂
You can try to remove all widgets and then save to see if that fixes it.
Also, you can turn on debug mode to see if there’s a fatal error while saving the widgets:
https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/Insert this BEFORE /* That’s all, stop editing! Happy blogging. */ in the wp-config.php file
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );Then, try to save the widgets and see if there’s a PHP error:
wp-content / debug.logLater, you can turn off debug with false value and remove this log file.
Bit complcate for me. But the widget will be saved and shown. Only the visible part in admin is not to see. Only text/html
I did but understand few from this: debug log:
[15-Sep-2024 20:56:39 UTC] PHP Deprecated: Calling get_class() without arguments is deprecated in /var/www/vhosts/istok.de/rainbowsongs.org/wp-content/plugins/sold-out-badge-for-woocommerce/vendor/htmlburger/carbon-fields/core/Container.php on line 36
[15-Sep-2024 20:56:39 UTC] PHP Deprecated: Calling get_class() without arguments is deprecated in /var/www/vhosts/istok.de/rainbowsongs.org/wp-content/plugins/sold-out-badge-for-woocommerce/vendor/htmlburger/carbon-fields/core/Datastore/Datastore.php on line 79
[15-Sep-2024 20:56:39 UTC] PHP Deprecated: Calling get_class() without arguments is deprecated in /var/www/vhosts/istok.de/rainbowsongs.org/wp-content/plugins/sold-out-badge-for-woocommerce/vendor/htmlburger/carbon-fields/core/Container/Theme_Options_Container.php on line 254
[15-Sep-2024 20:56:39 UTC] PHP Deprecated: Calling get_class() without arguments is deprecated in /var/www/vhosts/istok.de/rainbowsongs.org/wp-content/plugins/sold-out-badge-for-woocommerce/vendor/htmlburger/carbon-fields/core/Field.php on line 57
[15-Sep-2024 20:56:39 UTC] PHP Deprecated: Calling get_class() without arguments is deprecated in /var/www/vhosts/istok.de/rainbowsongs.org/wp-content/plugins/sold-out-badge-for-woocommerce/vendor/htmlburger/carbon-fields/core/Field.php on line 57
[15-Sep-2024 20:56:39 UTC] PHP Deprecated: Calling get_class() without arguments is deprecated in /var/www/vhosts/istok.de/rainbowsongs.org/wp-content/plugins/sold-out-badge-for-woocommerce/vendor/htmlburger/carbon-fields/core/Field.php on line 57
[15-Sep-2024 20:56:39 UTC] PHP Deprecated: Calling get_class() without argumenIt seems nothing new to come only woocommerce plugin : sold-out-badge-for-woocommerce
Those are not fatal errors, just deprecated warnings. This won’t cause the issue.
You can temporarily deactivate the classic widgets plugin to see that allows you to edit them.
without classic I see 17 alerts:
The “text” block was affected by errors and may not function properly. Check the developer tools for more details. And ALL text widgets are not there!But why under health check choosing another theme the visible by widgets is to see?
I really cant change theme 🙁Maybe the other theme does not have particular state saved for the widgets.
You can remove the troublesome widget like so:
https://i.ibb.co/h2G1P3c/remove-widgets.png
Then, save the widgets.
I dont understand actually i dont want to delete widgets, it was a lot of work and tey work but only without visibility. I dont understand the logix of wodgets without classci that is why i dint use them. What shows this picture?
what are this developer tools?
Almost all wigets are gon (without classic view) but they are all still normally workingAnd I really want to stay with you theme, find it the best 🙂
There is at least one widget that is causing the issue.
You would need to find and reset/remove that widget.
You can right click on Browser and Inspect > Console to see if there’s JavaScript error in the widgets admin area.
It is completly chaotic now. Widgets double themselve, land elswhere and so ;(
On your website, currently I see there are only 3 text widgets in the right sidebar.
There are no footer widgets.
You can copy the text of those 3 sidebar widgets and save them somewhere else, then remove all of them if possible.
Once, it’s all visible in the admin, you can re-paste the content you saved in the text widget.
I am completly confused, they disappers from alone 🙁
- You must be logged in to reply to this topic.