• Hi,

    the plugins throws a lot of notices on how get_term was not able to find the term.

    Notice: Trying to get property of non-object in /www/wp-content/plugins/yith-woocommerce-ajax-navigation/includes/functions.yith-wcan.php on line 60

    Here’s a screenshot of this issue:

    Screenshot

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi @scheichmanfred,

    seems you have a wrong configuration in farbe terms.
    Plese, can you send me a screenshot of this attribute ?

    Please, try to deactivate all plugins and see if the problem disappear. If so, try to activate them again one by one and see which one produces the issue.
    If the problem is not from a plugin, try to activate the default theme Twenty Eleven (or Twelve) and see if you have the same issue.

    Also, if you have customized files in your theme, please try with a fresh installation without customizations.

    Remember that if you have a plugin for the cache, you need to delete the cache before to disable it.

    Have a nice day
    YITH

    Thread Starter scheichmanfred

    (@scheichmanfred)

    Hi,

    thank you for replying. Turned out that indeed there was a major problem with getting terms.

    get_terms( array( 'taxonomy' => $taxonomy, 'hide_empty' => '0' ) );

    returned a WP_Error object, while

    get_terms( array( 'taxonomy' => $taxonomy ) );

    did return all terms for the specific taxonomy.

    We updated WordPress to the latest version, now get_terms works like it supposed to.

    Plugin Author YITHEMES

    (@yithemes)

    Hi,

    sure! We fixed this issue and add the support to new get_terms function in version 3.0.8 – Released the 11th Aug 2016, are you sure to use the version 3.08 or greather ?

    Have a nice day

    YITH

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot find term – PHP error’ is closed to new replies.