Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

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)
  • Jose David Moliner
    #34223

    Hi,

    I’m using 2.0.3.

    I get this error using Taxonomy filter

    Jose David Moliner
    #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

    Jose David Moliner
    #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.

    Jose David Moliner
    #34268
    This reply has been marked as private.
    Ross Moderator
    #34404
    This reply has been marked as private.
    Jose David Moliner
    #34579
    This reply has been marked as private.
    Ross Moderator
    #34584
    This reply has been marked as private.
    Jose David Moliner
    #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)

The forum ‘Search & Filter Pro’ is closed to new topics and replies.