• Resolved jaroslawistok

    (@jaroslawistok)


    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 on

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Theme Author ScriptsTown

    (@scriptstown)

    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/

    Thread Starter jaroslawistok

    (@jaroslawistok)

    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 🙂

    Theme Author ScriptsTown

    (@scriptstown)

    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.log

    Later, you can turn off debug with false value and remove this log file.

    Thread Starter jaroslawistok

    (@jaroslawistok)

    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

    Thread Starter jaroslawistok

    (@jaroslawistok)

    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 argumen

    It seems nothing new to come only woocommerce plugin : sold-out-badge-for-woocommerce

    Theme Author ScriptsTown

    (@scriptstown)

    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.

    Thread Starter jaroslawistok

    (@jaroslawistok)

    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!

    Thread Starter jaroslawistok

    (@jaroslawistok)

    But why under health check choosing another theme the visible by widgets is to see?
    I really cant change theme 🙁

    Theme Author ScriptsTown

    (@scriptstown)

    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.

    Thread Starter jaroslawistok

    (@jaroslawistok)

    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?

    Thread Starter jaroslawistok

    (@jaroslawistok)

    what are this developer tools?
    Almost all wigets are gon (without classic view) but they are all still normally working

    And I really want to stay with you theme, find it the best 🙂

    Theme Author ScriptsTown

    (@scriptstown)

    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.

    Thread Starter jaroslawistok

    (@jaroslawistok)

    It is completly chaotic now. Widgets double themselve, land elswhere and so ;(

    Theme Author ScriptsTown

    (@scriptstown)

    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.

    Thread Starter jaroslawistok

    (@jaroslawistok)

    I am completly confused, they disappers from alone 🙁

Viewing 15 replies - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.