Post meta not working

Forums › Forums › Search & Filter Pro › Post meta not working

Viewing 7 posts – 1 through 7 (of 7 total)
  • Anonymous
    #22519

    I can confirm that the post_meta search works with a super old version I had stored on my computer (v1.2.4).

    I think you may have done something wrong with the v1.4.1 because you tweaked with the post_meta in that release.

    Ross Moderator
    #22611

    Hey there, yeah I think there was a bug introduced in 1.3 somewhere which sometimes caused S&F to incorrectly detect if a post meta field was serialised or not – this caused some problems.

    I’ve just send you a fix which allows you to set is serialised for each post meta field, which should overcome this issue.

    Thanks

    Anonymous
    #22619

    Thanks! It seems to work.
    Does it work without serialised values as well? Because I’ve both.

    Also, will this “fix” be a part of v2.0?

    Ross Moderator
    #22625

    Yes and yes, you just must choose whether it is or is not serialised – it will work with either provided you set the correct option.

    S&F 2.0 doesn’t even have this option, because it once again correctly detects this ๐Ÿ™‚

    Thanks

    Anonymous
    #22672

    I meant that ACF stores a normal string if it’s only one post assigned, but a serialised array if there are more posts assigned ๐Ÿ˜›
    So it stores both types to the meta_value column.

    But it’s no crisis if 2.0 will auto detect this ๐Ÿ™‚

    Thanks for your quick replies!

    Ross Moderator
    #25752
Viewing 7 posts – 1 through 7 (of 7 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.