Conflict between Event Calendar 3 and WP-Sticky (3 posts)

  1. crispino
    Posted 8 years ago #

    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

  2. miles932
    Posted 8 years ago #

    Agreed. Mine does exactly the same thing. Any other "sticky" plugins or other ways to achieve the same goal that don't cause the FERNT?

  3. Lester Chan
    Posted 8 years ago #

    this is a known issue and as far as I know, it can't be solved.

Topic Closed

This topic has been closed to new replies.

About this Topic