Admin Search Bar is not working

The search bar in the back-end of our Wordpress page is not working.

  1. We are going to the Search feature both on the image and the page section.
  2. I want to search the picture “VR Coil” which is the first picture on the list (we can not able to see the small version of the picture the identify it as well)
  3. I wrote VR Coil and I get this message: “[Not unique table/alias: ‘wplw_postmeta’]
    SELECT SQL_CALC_FOUND_ROWS DISTINCT wplw_posts.ID FROM wplw_posts LEFT JOIN wplw_postmeta ON wplw_posts.ID = wplw_postmeta.post_id INNER JOIN wplw_postmeta ON wplw_posts.ID = wplw_postmeta.post_id LEFT JOIN wplw_postmeta AS sq1 ON ( wplw_posts.ID = sq1.post_id AND sq1.meta_key = ‘_wp_attached_file’ ) WHERE 1=1 AND (((wplw_posts.post_title LIKE ‘%VR%’) OR (wplw_postmeta.meta_value LIKE ‘%VR%’) OR (wplw_posts.post_excerpt LIKE ‘%VR%’) OR (wplw_posts.post_content LIKE ‘%VR%’) OR ( sq1.meta_value LIKE ‘%VR%’ )) AND ((wplw_posts.post_title LIKE ‘%Coil%’) OR (wplw_postmeta.meta_value LIKE ‘%Coil%’) OR (wplw_posts.post_excerpt LIKE ‘%Coil%’) OR (wplw_posts.post_content LIKE ‘%Coil%’) OR ( sq1.meta_value LIKE ‘%Coil%’ ) OR (wplw_postmeta.meta_key = ‘_cornerstone_data’ AND wplw_postmeta.meta_value LIKE ‘%VR Coil%’))) AND wplw_posts.post_type = ‘attachment’ AND ((wplw_posts.post_status = ‘inherit’ OR wplw_posts.post_status = ‘private’)) GROUP BY wplw_posts.ID ORDER BY (CASE WHEN wplw_posts.post_title LIKE ‘%VR Coil%’ THEN 1 WHEN wplw_posts.post_title LIKE ‘%VR%’ AND wplw_posts.post_title LIKE ‘%Coil%’ THEN 2 WHEN wplw_posts.post_title LIKE ‘%VR%’ OR wplw_posts.post_title LIKE ‘%Coil%’ THEN 3 WHEN wplw_posts.post_excerpt LIKE ‘%VR Coil%’ THEN 4 WHEN wplw_posts.post_content LIKE ‘%VR Coil%’ THEN 5 ELSE 6 END), wplw_posts.post_date DESC LIMIT”

Thank you

Hey Jamie,

Thanks for detailing how to replicate the issue. I followed it with only X and Cornerstone active and I didn’t experience the issue you described.

This only means that one of the third-party plugins is causing the issue. I understand that you tested for a plugin conflict. But, this is the case on my end.

I’d recommend you consult with a developer to investigate this issue.

Thanks.

Hello Christian,

We have deactivated all of the 3rd-party plugins and our problems are still ongoing. The searching bar is still not working, giving the same problem as before. Now we are having even more problems with the website. Now our latest update part stopped functioning as well.

Thank you

Hello Jamie,

Thanks for updating the thread.

I checked the website and I see that you are using WordPress 4.9.10 which is fairly old and might cause compatibility issues. I suggest you to update WordPress to latest version 5.2.2 and see how it goes. After updating please make sure to clear cache of W3 Total cache plugin to make sure latest version of WordPress is in use.

You can refer following post to update WordPress:

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.