Title: Cannot find term &#8211; PHP error
Last modified: November 26, 2016

---

# Cannot find term – PHP error

 *  [scheichmanfred](https://wordpress.org/support/users/scheichmanfred/)
 * (@scheichmanfred)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/cannot-find-term-php-error/)
 * 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](https://i0.wp.com/fs5.directupload.net/images/161126/opve6cik.png)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/cannot-find-term-php-error/#post-8492602)
 * Hi [@scheichmanfred](https://wordpress.org/support/users/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](https://wordpress.org/support/users/scheichmanfred/)
 * (@scheichmanfred)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/cannot-find-term-php-error/#post-8495447)
 * 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](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/cannot-find-term-php-error/#post-8503072)
 * 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.

 * ![](https://ps.w.org/yith-woocommerce-ajax-navigation/assets/icon-256x256.gif?
   rev=3129944)
 * [YITH WooCommerce Ajax Product Filter](https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/cannot-find-term-php-error/#post-8503072)
 * Status: not resolved