Fatal error in version 1.7.5.2.
-
After updating tho this version, the plugin causes the wp_insert_post to crash when WordPress is creating new posts.
This is because kkDataBase->getPostVoters attempts to run SQL even though there’s no post id (for content filter on a new post), causing syntax error in SQL:
Debug information:
[07-Feb-2014 17:14:28 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‘ORDER BY wp_kklikeuser.date DESC’ at line 5 for query SELECT * FROM wp_kklikeuser
LEFT JOIN (wp_users)
ON (wp_users.ID = wp_kklikeuser.idwpuser)
WHERE wp_kklikeuser.idlike =
ORDER BY wp_kklikeuser.date DESCmade by
wp_insert_post,
wp_transition_post_status,
do_action(‘new_to_publish’),
call_user_func_array,
nxs_snapPublishTo,
nxs_doPublishToFB,
apply_filters(‘the_content’),
call_user_func_array,
addKKLikeVoters,
kkDataBase->getPostVoters
- The topic ‘Fatal error in version 1.7.5.2.’ is closed to new replies.