Community Forums › Forums › Archived Forums › General Discussion › something strange in error log
- This topic has 6 replies, 3 voices, and was last updated 12 years, 10 months ago by
draphael.
-
AuthorPosts
-
June 3, 2013 at 4:14 pm #43930
draphael
MemberHi, I'm using Genesis with Themedy's "FoxyNews" theme. It's been working well for over a year. But I admit I haven't been checking my site's error logs. I just looked into them today and found that it's full of the same error, over and over again.
Apparently there's something to do with the SQL syntax (a subject I know less than nothing about) and it also mentions Genesis and Themedy. I don't know how to figure out what's causing the error. Here it is:
[03-Jun-2013 22:02:39 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
AND p.ID != 931
AND p.post_status = 'publish'
AND p.post_date_g' at line 6 for query
SELECT p.*, count(tr.object_id) as count
FROM wp_term_taxonomy AS tt, wp_term_relationships AS tr, wp_posts AS p
WHERE tt.taxonomy ='post_tag'
AND tt.term_taxonomy_id = tr.term_taxonomy_id
AND tr.object_id = p.ID
AND tt.term_id IN ()
AND p.ID != 931
AND p.post_status = 'publish'
AND p.post_date_gmt < NOW()
GROUP BY tr.object_id
ORDER BY count DESC, p.post_date_gmt DESC
LIMIT 5; made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/genesis/single.php'), genesis, do_action('genesis_loop'), call_user_func_array, genesis_do_loop, genesis_standard_loop, do_action('genesis_after_post_content'), call_user_func_array, themedy_related_posts_single, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, themedy_related_postsAny suggestions would be gratefully welcomed! Thanks so much.
Denise
http://www.emptymirrorbooks.comJune 3, 2013 at 6:59 pm #43937AnitaC
KeymasterI would check with the theme developer of Themedy as that is not a Studiopress theme. You should also ask your host about that issue.
Need help with customization or troubleshooting? Reach out to me.
June 4, 2013 at 7:57 am #44005draphael
MemberOK, thanks - the error mentions Genesis 4 times and Themedy twice so I thought I would check here!
June 4, 2013 at 9:23 am #44021sokratesagogo
MemberAre you using the latest version of FoxyNews theme? From the Themedy demo site it looks like the latest is version: 1.1.3
“I toast, therefore I am”
June 4, 2013 at 11:31 am #44049draphael
MemberYes, I keep everything updated - Thanks for the suggestion though.
June 5, 2013 at 4:45 am #44131sokratesagogo
MemberAre Themedy shortcodes/shortcode button working in your posts?
“I toast, therefore I am”
June 5, 2013 at 8:29 pm #44261draphael
MemberYes, shortcodes are working OK. I have the Themedy buttons on several pages.
Themedy says they're looking into this error issue for me.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.