Heba Fareed
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Yes, I had this issue too, it’s because of the custom query search function in file:
back-in-stock-notifier-for-woocommerce/includes/admin/class-post-type.phppublic function custom_search_query( $query) { $custom_fields = array( 'cwginstock_subscriber_name', ); $searchterm = $query->query_vars['s']; $searchterm = $query->query_vars['post_type']; $query->query_vars['s'] = ''; if ('' != $searchterm) { $meta_query = array('relation' => 'OR'); foreach ($custom_fields as $cf) { array_push($meta_query, array( 'key' => $cf, 'value' => $searchterm, 'compare' => 'LIKE' )); } $query->set('meta_query', $meta_query); }; }This code gets applied to all search queries, I’ve edited it to fix quickly:
public function custom_search_query( $query) { $custom_fields = array( 'cwginstock_subscriber_name', ); $searchterm = $query->query_vars['s']; $post_type = $query->query_vars['post_type']; if ($post_type === 'cwginstocknotifier') { $query->query_vars['s'] = ''; if ('' != $searchterm) { $meta_query = array('relation' => 'OR'); foreach ($custom_fields as $cf) { array_push($meta_query, array( 'key' => $cf, 'value' => $searchterm, 'compare' => 'LIKE' )); } $query->set('meta_query', $meta_query); } }; }Please fix it 🙂
I’m also facing this issue after the latest update.
Forum: Plugins
In reply to: [Social Slider Feed] Update WordPress 4.6 -> Instagram Slider not workingHi everyone 🙂
I’d this issue and tried to activate curl_exec and it worked 🙂 may it’ll work with you too!
Forum: Plugins
In reply to: [WP Instagram Widget] Instagram did not return a 200 after 4.6 WP updateHi 🙂
I’d this issue, and tried activating curl_exec then it worked! however, I’ll try on other servers 🙂
Viewing 4 replies - 1 through 4 (of 4 total)