• coolbeerzh

    (@coolbeerzh)


    Hi, Could anyone help me to resolve this?
    I am using WP2.1 and K2 theme. When activated ELA, I met with this problem. Everytime I publish or delete a post, it says:

    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 p2c.category_id <> 1 AND p2c.category_id <> 2 AND p.post_date_gmt <‘ at line 5]
    SELECT DISTINCT MONTH(p.post_date) AS month FROM wp_posts p INNER JOIN wp_post2cat p2c ON (p.ID = p2c.post_id ) WHERE YEAR(p.post_date) = AND p2c.category_id <> 1 AND p2c.category_id <> 2 AND p.post_date_gmt < ‘2007-02-17 05:23:18’ ORDER By p.post_date DESC

    Warning: Invalid argument supplied for foreach() in /home/tumorige/public_html/life/wp-content/plugins/af-extended-live-archive/af-extended-live-archive-include.php on line 294

    Warning: Invalid argument supplied for foreach() in /home/tumorige/public_html/life/wp-content/plugins/af-extended-live-archive/af-extended-live-archive-include.php on line 461

    Warning: Cannot modify header information – headers already sent by (output started at /home/tumorige/public_html/life/wp-includes/wp-db.php:121) in /home/tumorige/public_html/life/wp-includes/pluggable.php on line 275

    If I turned ELA off, it is fine. The vision is 0.1R18.
    Anyone has any idea what’s going on?
    Thanks in advance.

Viewing 1 replies (of 1 total)
  • JaneLitte

    (@janelitte)

    I had a similar error and it was resolved when I changed the permissions to the cache folder in the af-extended-live-archive folder to 777.

Viewing 1 replies (of 1 total)
  • The topic ‘af-ELA error’ is closed to new replies.