Forums › Forums › Search & Filter Pro › Notice: Trying to get property of non-object in /class-search-filter-cache.php
- This topic has 9 replies, 2 voices, and was last updated 10 years, 9 months ago by
Ross.
-
Ross Moderator(Private) January 14, 2016 at 2:29 pm #34225
Hi Jose
The error is being caused by this line:
`$term_name = $term->slug;
It is saying the property “slug” does not exist for a taxonomy term – slug must always exist for it to be valid.
How are you creating your taxonomies / updating their values?
I see you are on S&F 2.0.3 – can you update to 2.1.0?
Thanks
Ross Moderator(Private) January 21, 2016 at 10:18 am #34915Hey Jose
There was an undefined error being caused by deleted or renamed taxonomies.
This left some redundant entires in the cache, which were being referenced in your site, causing these kinds of errors.
I’ve now added the correct checks to S&F so that this error is gone.
I also already upgraded you to the latest dev version – so you shouldn’t see an upgrade option in the plugins page (I think it will be 2.1.0 or 2.1.1 reported, but its a dev version).
So the next upgrade will be 2.1.2, which has these fixes, which you can happily upgrade to once we get there 🙂
Thanks
-
AuthorPosts