Support » Plugins » Conflict between Event Calendar 3 and WP-Sticky

  • I’ve had to de-activcate wp-sticky as it conflics with eventcalendar3 plugin. Actually, the two will work togerher as long as the ec3 option “Show events as blog entries” is set to: “Events are Normal Posts”.

    Once set to “Keep Events Seperate”, which changes the event category to display only events in the future in chronological order (earlier events first), an error occurs when a link in the sidebar calendar is activated.

    Is this a fault with event calendar 3, WP-Sticky, or both?

    Here is the error message that is displayed:

    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 ‘DESC,’%Y-%m-%d’) DESC, (wp_sticky.sticky_status = 1 AND wp_sticky.sticky_status ‘ at line 1]
    SELECT SQL_CALC_FOUND_ROWS wp_posts.*, wp_sticky.sticky_status FROM wp_posts LEFT JOIN wp_post2cat ON (wp_posts.ID = wp_post2cat.post_id) LEFT JOIN wp_ec3_schedule ec3_sch ON ec3_sch.post_id=id LEFT JOIN wp_sticky ON wp_sticky.sticky_post_id = wp_posts.ID WHERE 1=1 AND wp_post2cat.category_id IN (10) AND (post_type = ‘post’ AND (post_status = ‘publish’ OR post_status = ‘private’)) AND ((YEAR(start)=2007 AND MONTH(start)=09 AND DAYOFMONTH(start)=08) OR (start<=’2007-09-08 0:0:0′ AND end>=’2007-09-08 0:0:0′)) GROUP BY wp_posts.ID ORDER BY (wp_sticky.sticky_status = 2 AND wp_sticky.sticky_status IS NOT NULL) DESC, DATE_FORMAT(wp_posts.ec3_sch.start DESC,’%Y-%m-%d’) DESC, (wp_sticky.sticky_status = 1 AND wp_sticky.sticky_status IS NULL) DESC, DATE_FORMAT(wp_posts.ec3_sch.start DESC,’%T’) DESC LIMIT 0, 10

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict between Event Calendar 3 and WP-Sticky’ is closed to new replies.