Home Forums WoodMart support forum Layered nav error

Layered nav error

Viewing 27 posts - 1 through 27 (of 27 total)
  • Author
    Posts
  • #503755

    kr.maeots
    Participant

    I added mega menu submenu items as a html blocks to my page and after that I get plenty of “class-wc-widget-layered-nav.php(423): remove_query_arg(‘filter_brand’, Object(WP_Error))”” errors on my page. I added log to private content field.

    Can you assist, what could be wrong to get those errors?

    #503854

    Artem Temos
    Keymaster

    Hello,

    Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
    WoodMart core
    WooCommerce
    Elementor/WPBakery page builder

    Thank you in advance

    #503937

    kr.maeots
    Participant

    Okay, disabled all plugins and gave passwords in private content.

    #503939

    kr.maeots
    Participant

    I think it is something with woocommerceproduct properties? Added log into extra information

    #503999

    Artem Temos
    Keymaster

    As we can see, most of the plugins are still turned on. Please, keep them disabled temporarily.

    #504754

    kr.maeots
    Participant

    I found out, that the problem comes from woocommerce plugin, i currently disabled all plugins for you, but i think it has something to do with woocommerce.

    #504786

    Artem Temos
    Keymaster

    Please, disable all plugins temporarily but leave theme-related plugins including WooCommerce.

    #505154

    kr.maeots
    Participant

    Hey! Now they are disabled!

    #505157

    kr.maeots
    Participant

    Added ftp information.

    #505174

    Artem Temos
    Keymaster

    Could you please clarify where exactly we can see these errors on your website now?

    #505177

    kr.maeots
    Participant

    I can’t “see” them directly on the page. Servers fpm-error.log spams hundreds of those i added to private content.

    #505178

    kr.maeots
    Participant

    I got this error after making submenus for side menu on desktop and mobile, but by that lots of woocommerce categories and categories and products relations were made, maybe something in woocommerce products/categories is messed up or is the woocommerce version bad I don’t know.

    #505183

    kr.maeots
    Participant

    https://wordpress.org/support/topic/php-error-608/

    similar error here described and they guessed it has to do with theme.

    maybe woodmart has issues with latest woocommerce?

    #505195

    Artem Temos
    Keymaster

    In this case, we need to have realtime access to these logs to be able to see them and check if they are caused by the theme.

    #505232

    kr.maeots
    Participant

    Yes I’ll give you access in private content.

    #505441

    Artem Temos
    Keymaster

    We have replaced WooCommerce widgets with theme filter widgets and we don’t see the errors now. Please, test how it works now.

    #505566

    kr.maeots
    Participant

    No still seems to occur. Last errors were some minutes ago. Added to private content.

    #505567

    kr.maeots
    Participant

    It seems that the error occurs with woodmart widgets also.

    Tried currently downgrading woocommerce to 8.1.0 to see if it helps, but it isn’t solution, because the plugin needs upgrading in the future anyway.

    #505689

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_filter(
        'woocommerce_widget_get_current_page_url',
        function ( $link ) {
            if ( is_wp_error( $link ) ) {
                $link = false;
            }
    
            return $link;
        }
    );
    #505719

    kr.maeots
    Participant

    Tried, still getting this

    #505809

    Artem Temos
    Keymaster

    We can’t identify the issue but it seems to be caused by WooCommerce and not by theme. Could you please temporarily switch to the Storefont theme and add filter widgets for same attributes on the shop page for testing?

    #506021

    kr.maeots
    Participant

    Doesn’t it mess up my current settings and everything i’ve done with the theme?

    #506179

    Artem Temos
    Keymaster

    Hello,

    The only problem that may occur when you switch between themes in Appearance -> Themes is that widgets may lose their positions. It is a WordPress behavior and we are not able to fix this in our theme scope.
    As a workaround, you can backup your widgets configurations using this plugin https://wordpress.org/plugins/widget-importer-exporter/

    Regards

    #506716

    kr.maeots
    Participant

    OKay it seems I solved the issue removing not valid woocommerce product attribute, but i get a new error now.

    #506754

    Artem Temos
    Keymaster

    Great, we are glad that you sorted it out. As for this notice, it seems to be not related to the theme but to some cron job. Our theme doesn’t use cron at all.

    Kind Regards

    #507925

    kr.maeots
    Participant

    Okay the error didn’t go away. Still getting this.

    I saw that on woocommerce forum developers say, that it seems to be the theme’s fault again. That the theme is giving wrong input.

    https://wordpress.org/support/topic/php-error-608/

    #508384

    Artem Temos
    Keymaster

    Hello,

    Could you please temporarily switch to the Storefont theme and add filter widgets for same attributes on the shop page for testing?

Viewing 27 posts - 1 through 27 (of 27 total)