I’m using a Plugin called “WP Broadbean” and “WP Broadbean Search” and run into an issue where I the search function on this seems to have an issue when using the salary field showing no results. All other fields work fine. And when troubleshooting the issue seems to be resolved switching theme to default theme. So get in the weird zone where the plugin developer isn’t providing support since the theme seems to be conflicting with it.
Below is an example of the search string incase that helps with ideas of the conflict
https://hosting.quentosity.co.nz/~encorenzco/?post_type=wpbb_job&s=&wpbb_job_location=0&wpbb_job_skill=0&wpbb_job_type=0&wpbb_job_industry=0&_wpbb_job_salary=1000
Also below is a WP error that occurs when this error occurs.
[16-Mar-2020 18:40:53 UTC] WordPress database error Not unique table/alias: ‘wpsc_postmeta’ for query SELECT SQL_CALC_FOUND_ROWS DISTINCT wpsc_posts.ID FROM wpsc_posts INNER JOIN wpsc_postmeta ON ( wpsc_posts.ID = wpsc_postmeta.post_id ) LEFT JOIN wpsc_postmeta ON wpsc_posts.ID = wpsc_postmeta.post_id WHERE 1=1 AND (
( wpsc_postmeta.meta_key = ‘_wpbb_job_salary’ AND CAST(wpsc_postmeta.meta_value AS SIGNED) > ‘1000’ )
) AND wpsc_posts.post_type = ‘wpbb_job’ AND (wpsc_posts.post_status = ‘publish’ OR wpsc_posts.post_status = ‘acf-disabled’) GROUP BY wpsc_posts.ID ORDER BY wpsc_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
Hopefully everything makes sense and you are able to help thanks. I can provide login details to the site and email of the plugin developer if that helps just let me know forgot how to make the hidden text only for privileged users to see.
