Home › Forums › Themes Support › Claue › Bug Report
- This topic has 5 replies, 2 voices, and was last updated 5 years, 10 months ago by Rahim.
-
AuthorPosts
-
-
February 18, 2019 at 2:14 am #29016
Hi Harry,
I found a bug which I see currently after the theme update.
In my website, there are some categories which doesn’t have any product yet.
I realized when I go to the category page, I see an error message in the footer in widget area.
Warning: join(): Invalid arguments passed in /home2/look24/domains/look.ir/public_html/wp-includes/class-walker-nav-menu.php on line 150
I found out when I add a product to this category, the error disappears.
category with test product (without Error): https://look.ir/isfahan-coupon/
category without product (with Error): https://look.ir/tehran-coupon/
All of these category pages are in here: https://look.ir/coupon
As I check my website right after the theme update in all sections, I saw this after coming to 1.5.4
Regards.
Rahim Vaziri
CEO & Founder at Look.ir -
February 18, 2019 at 11:05 am #29022
Hi Raihm,
I try on my local it still work well http://prntscr.com/mmhlcr the menu on footer generate by default custom navigation of WordPress, could you try switch to default theme.
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
February 20, 2019 at 5:05 pm #29078
Hi Harry,
I switched to Storefront theme and this happened again.
I believe this is coming from WordPress core code.
I found a topic for this: https://wordpress.stackexchange.com/questions/103148/error-trying-to-get-property-of-non-object-with-custom-walker-for-wp-nav-menu
But the topic didn’t help me. couldn’t solve the problem via the answer yet.
So finally I added this code to wp-config.php file to hide it:
ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_DISPLAY', false);
Just wanted to share it with you if this happened to another customer.
If I found the solution will update this topic again.
Regards.
Rahim Vaziri
CEO & Founder at Look.ir -
February 20, 2019 at 5:09 pm #29079
The good news is that this is just a warning and by hiding that, I don’t get any error in the console.
So this pages will not take longer time to load.
Regards.
Rahim Vaziri
CEO & Founder at Look.ir -
February 20, 2019 at 6:30 pm #29083
Hi Rahim,
Thank for share.
For live site you should add the code below wp-config.php
ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_DISPLAY', false);
For staging site you don’t need add these code.
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
February 20, 2019 at 6:32 pm #29084
Yeah Harry, you are right.
I added this to my main site.
Regards.
Rahim Vaziri
CEO & Founder at Look.ir
-
-
AuthorPosts
You must be logged in to reply to this topic.