Notice: Trying to get property of non-object in /class-search-filter-cache.php

Forums › Forums › Search & Filter Pro › Notice: Trying to get property of non-object in /class-search-filter-cache.php

Viewing 10 posts – 1 through 10 (of 10 total)
  • Anonymous
    #34223

    Hi,

    I’m using 2.0.3.

    I get this error using Taxonomy filter

    Anonymous
    #34224
    This reply has been marked as private.
    Ross Moderator
    #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

    Anonymous
    #34267

    I’ve updated to 2.1.0 but I get a lot of error and back to 2.0.3

    The problem is with custom taxonomies. But I see all the slugs correctly in the taxonomies.

    Anonymous
    #34268
    This reply has been marked as private.
    Ross Moderator
    #34404
    This reply has been marked as private.
    Anonymous
    #34579
    This reply has been marked as private.
    Ross Moderator
    #34584
    This reply has been marked as private.
    Anonymous
    #34912
    This reply has been marked as private.
    Ross Moderator
    #34915

    Hey 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

Viewing 10 posts – 1 through 10 (of 10 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.