Home Forums Themes Support Claue Bug Report

Viewing 5 reply threads
  • Author
    Posts
    • #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

    • #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

    • #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

    • #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

    • #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

    • #29084

      Yeah Harry, you are right.

      I added this to my main site.

      Regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

Viewing 5 reply threads

You must be logged in to reply to this topic.