Home › Forums › WoodMart support forum › Layered nav error
Layered nav error
- This topic has 26 replies, 2 voices, and was last updated 1 year, 2 months ago by Artem Temos.
-
AuthorPosts
-
October 12, 2023 at 5:46 pm #503755
kr.maeotsParticipantI 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?
October 13, 2023 at 9:14 am #503854
Artem TemosKeymasterHello,
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 builderThank you in advance
October 13, 2023 at 12:33 pm #503937
kr.maeotsParticipantOkay, disabled all plugins and gave passwords in private content.
October 13, 2023 at 12:39 pm #503939
kr.maeotsParticipantI think it is something with woocommerceproduct properties? Added log into extra information
October 13, 2023 at 2:47 pm #503999
Artem TemosKeymasterAs we can see, most of the plugins are still turned on. Please, keep them disabled temporarily.
October 17, 2023 at 1:06 pm #504754
kr.maeotsParticipantI 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.
October 17, 2023 at 3:11 pm #504786
Artem TemosKeymasterPlease, disable all plugins temporarily but leave theme-related plugins including WooCommerce.
October 18, 2023 at 3:59 pm #505154
kr.maeotsParticipantHey! Now they are disabled!
October 18, 2023 at 4:02 pm #505157
kr.maeotsParticipantAdded ftp information.
October 18, 2023 at 4:38 pm #505174
Artem TemosKeymasterCould you please clarify where exactly we can see these errors on your website now?
October 18, 2023 at 4:45 pm #505177
kr.maeotsParticipantI can’t “see” them directly on the page. Servers fpm-error.log spams hundreds of those i added to private content.
October 18, 2023 at 4:47 pm #505178
kr.maeotsParticipantI 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.
October 18, 2023 at 5:16 pm #505183
kr.maeotsParticipanthttps://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?
October 18, 2023 at 5:54 pm #505195
Artem TemosKeymasterIn 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.
October 18, 2023 at 6:54 pm #505232
kr.maeotsParticipantYes I’ll give you access in private content.
October 19, 2023 at 3:38 pm #505441
Artem TemosKeymasterWe have replaced WooCommerce widgets with theme filter widgets and we don’t see the errors now. Please, test how it works now.
October 19, 2023 at 11:21 pm #505566
kr.maeotsParticipantNo still seems to occur. Last errors were some minutes ago. Added to private content.
October 19, 2023 at 11:56 pm #505567
kr.maeotsParticipantIt 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.
October 20, 2023 at 12:44 pm #505689
Artem TemosKeymasterTry 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; } );
October 20, 2023 at 1:39 pm #505719
kr.maeotsParticipantTried, still getting this
October 20, 2023 at 5:57 pm #505809
Artem TemosKeymasterWe 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?
October 21, 2023 at 5:52 pm #506021
kr.maeotsParticipantDoesn’t it mess up my current settings and everything i’ve done with the theme?
October 23, 2023 at 9:18 am #506179
Artem TemosKeymasterHello,
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
October 24, 2023 at 2:55 pm #506716
kr.maeotsParticipantOKay it seems I solved the issue removing not valid woocommerce product attribute, but i get a new error now.
October 24, 2023 at 4:37 pm #506754
Artem TemosKeymasterGreat, 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
October 27, 2023 at 4:00 pm #507925
kr.maeotsParticipantOkay 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.
October 30, 2023 at 10:31 am #508384
Artem TemosKeymasterHello,
Could you please temporarily switch to the Storefont theme and add filter widgets for same attributes on the shop page for testing?
-
AuthorPosts
- You must be logged in to create new topics. Login / Register