Forum Replies Created
-
AuthorPosts
-
February 11, 2015 at 10:21 pm in reply to: Search Results Not displaying for specific keywords #3897
webmdt
ParticipantThe error has gone away, but has been replaced with another:
http://fairfieldschools.org/district-v2/debug.log
Check the first error that occurred on Feb 11 ([11-Feb-2015 00:16:12 UTC])
Something to do with:
[code]CASE WHEN dist_ajaxsearchpro_priorities.priority IS NULL
THEN 100
ELSE dist_ajaxsearchpro_priorities.priority
END AS priority,[/code]February 10, 2015 at 10:53 pm in reply to: Search Results Not displaying for specific keywords #3865webmdt
ParticipantHello Ernest,
Thanks, I’ve updated the functions file and will continue to monitor this.
Will this change be placed into your next version you deploy (so that I can still update) ?
Thanks
February 10, 2015 at 10:21 pm in reply to: Search Results Not displaying for specific keywords #3862webmdt
ParticipantHello 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:
[code]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[/code]
[code]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;
}
}
[/code]webmdt
ParticipantStrange, as I’m not seeing it in my logs now. I was calling a function publicly..but I guess it wanted to be called individually.
I will keep checking back, and make sure there are no Fatal Errors on the page. Once I have achieved that, I will retest the search feature and get back to you.
Thanks for the quick response.
webmdt
ParticipantI believe we’re looking at a different log. As I see many lines of bugs. I have fixed that error however and the issue still persists.
The one regarding the AJAX search is:
[10-Feb-2015 18:42:00 UTC] 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
webmdt
ParticipantAttached
webmdt
ParticipantI provided wirdpress credentials when I made the topic, please check.
And the website isn’t live to the public yet, so if you do have a syntax error that is fine, as long as you fix it within a few minutes
Thank you
-
AuthorPosts