Reply To: Search Results Not displaying for specific keywords

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search Results Not displaying for specific keywords Reply To: Search Results Not displaying for specific keywords

#3862

webmdt
Participant

Hello again.

I have dug through all of the WP-Errors, the only one remaining is in regards to your plugin on the functions file. Its referencing the instance where your grabbing the POST DATA:

PHP Notice:  Trying to get property of non-object in /var/www/vhosts/fairfieldschools.org/district-v2/plugins/ajax-search-pro/functions.php on line 114
Line 109-119:

if (!function_exists("get_content_w")) {  
  function get_content_w($id)
  {
      $my_postid = $id;
      $content_post = get_post($my_postid);
      $content = $content_post->post_content;
      $content = apply_filters('the_content', $content);
      $content = str_replace(']]>', ']]>', $content);
      return $content;
  }  
}