Forums › Forums › Search & Filter Pro › Post meta not working
- This topic has 6 replies, 2 voices, and was last updated 9 years, 3 months ago by Ross.
-
Anonymous(Private) August 3, 2015 at 4:35 pm #22518
I’m using a Relationship CF through ACF, and it gets me the IDs of the posts assigned.
However, it returns a 404 page? When I use the auto-suggest feature, it shows me the post IDs as expected, but still, it doesn’t work? The query returns: “?_sfm_sak_vvpl=5505” etc.
An interesting thing is that when I copy a serialized value from my database into my query, it works! Any ideas? This is very urgent and my client has received several complaints regarding this :/
Ross Moderator(Private) August 4, 2015 at 5:00 pm #22611Hey 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
Ross Moderator(Private) August 4, 2015 at 6:08 pm #22625Yes 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(Private) August 4, 2015 at 10:59 pm #22672I 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(Private) September 24, 2015 at 5:36 pm #25752S&F 2.0 is out ๐ http://www.designsandcode.com/documentation/search-filter-pro/getting-started/
-
AuthorPosts