Support Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.






NOTE : Due to personal issue, this Ultimate WP Query Search Filter Plugin is no longer under development. Thanks for the support over the years.

Anyone that come across this page that want to find a realible saerch plugin, here are the list of potential replacements.

Plugin author will no longer giving support here, however you can still asking for help from other users here.
Pages: [1] 2
Author Topic: Issue with Meta Fields
ashishpate-
l1992
Newbie
Posts: 14
Permalink
Post Issue with Meta Fields
on: January 1, 2016, 19:00

Hello,
Your plugin is awesome no doubt. But I am facing a strange issue with Meta Fields.
I am trying to use two Meta fields with OR condition and both as drop down menus.
(_job_location) Job Location Meta Field and (_company)Company Meta Field
The problem is that if i add both of them together in my form, search brings no result.

I have tried them putting Only one of them at once and search works.
It looks like form doesnt works if i choose two Meta fields together.
Any help would be appreciated. :)

See my configuration here

Image

ashishpate-
l1992
Newbie
Posts: 14
Permalink
Post Re: Issue with Meta Fields
on: January 4, 2016, 10:42

Any update from the support team?

tck30
Administrator
Posts: 530
Permalink
Post Re: Issue with Meta Fields
on: January 4, 2016, 12:41

Make sure you have the correct meta value in the posts. Since you are using taxonomy filter as well, these taxonomy terms has to be in the posts as well.

New Add-On Plugins for Ultimate WP Query Search Filter has been released! Check it out now.

Buy Me A Beer! Thanks

ashishpate-
l1992
Newbie
Posts: 14
Permalink
Post Re: Issue with Meta Fields
on: January 4, 2016, 13:37

Hello,
Yes the taxonomy filters are present in the job.
I have tried that if I have one meta filter it works perfectly.
But If I add more than one meta filter, any extra meta filter. I end up with no results.

tck30
Administrator
Posts: 530
Permalink
Post Re: Issue with Meta Fields
on: January 6, 2016, 10:44

No result as blank page or no results found?
It's really hard to tell, since I don't know how you set up your posts with the meta fields.
You have to try use AND instead?

New Add-On Plugins for Ultimate WP Query Search Filter has been released! Check it out now.

Buy Me A Beer! Thanks

ashishpate-
l1992
Newbie
Posts: 14
Permalink
Post Re: Issue with Meta Fields
on: January 7, 2016, 13:34

Test. Trying to post

ashishpate-
l1992
Newbie
Posts: 14
Permalink
Post Re: Issue with Meta Fields
on: January 11, 2016, 07:36

Hello,
My issue is not yet resolved inspite of several emails to you.

tck30
Administrator
Posts: 530
Permalink
Post Re: Issue with Meta Fields
on: January 11, 2016, 14:19

Please don't ask your question in multiple places. For general question PLEASE ask your question HERE.
As for your problem, there are many possibilities and it is hard to tell, it maybe is your wp setup problem, plugin/theme conflicts, etc.
Btw, You can double check your meta fields filters, and also can try use 'LIKE' instead of '=' in the compare operator.

New Add-On Plugins for Ultimate WP Query Search Filter has been released! Check it out now.

Buy Me A Beer! Thanks

ashishpate-
l1992
Newbie
Posts: 14
Permalink
Post Re: Issue with Meta Fields
on: January 11, 2016, 14:33

Hello TC. K,
I am sorry for the trouble to you. But understand the problem, as I wrote email to you informing I was not able to make posts with links or images. I get antispam page with captcha broken due to which I had few days if you could resolve the issue. But even after that I face same captcha issue So, I had no choice else to make post on WP support forum.

I know its hard to handle support when you have lots of users around and it is really time-consuming.

For now I have tried Like in both meta fields and also tried combination of Like and =. But this also didnt help.
If you can give a few minutes to look into my site I can email you login details.

I am sorry if I had cause you the trouble.
Hoping for a positive reply and Thanks a lot for your time dear.

ashishpate-
l1992
Newbie
Posts: 14
Permalink
Post Re: Issue with Meta Fields
on: January 11, 2016, 15:56

Hello Again,
I used WP_Debug to find the issue and here is what I find might help you to analyse the problem
====================================

WordPress database error Unknown column 'mt1.meta_key' in 'where clause' for query SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  LEFT JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id  WHERE 1=1  AND ( 
  ( wp_postmeta.meta_key = '_Company' AND CAST(wp_postmeta.meta_value AS CHAR) != 'get_all_cmf_except_me' ) 
  OR 
  ( mt1.meta_key = 'geo_short_address_country' AND CAST(mt1.meta_value AS CHAR) != 'get_all_cmf_except_me' )
) AND wp_posts.post_type = 'job_listing' AND ((wp_posts.post_status = 'publish')) GROUP BY  wp_posts.ID  ORDER BY wp_posts.post_date DESC LIMIT 0, 10 made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts

==================================

Pages: [1] 2