WordPress.org

Ready to get started?Download WordPress

Forums

wpcu3er
wpCU3ER flooding error log with errors ! (5 posts)

  1. RavanH
    Member
    Posted 2 years ago #

    Since this plugin is active on my site, it keeps flooding the error log with these errors:

    [xxx] PHP Warning:  Invalid argument supplied for foreach() in /xxx/xxx/wp-content/plugins/wpcu3er/wpcu3er.php on line 1376
    [xxx] PHP Warning:  Invalid argument supplied for foreach() in /xxx/xxx/wp-content/plugins/wpcu3er/wpcu3er.php on line 1388
    [xxx] PHP 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 != 381
    AND p.post_status = 'publish'
    AND p.post_date_gmt < NOW()
    GROU' at line 6 pour la requête
    SELECT p.*, count(tr.object_id) as count
    FROM wp_28_term_taxonomy AS tt, wp_28_term_relationships AS tr, wp_28_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 != 381
    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, require_once, include, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, related_posts_content_shortcode

    What up?!

  2. RavanH
    Member
    Posted 2 years ago #

    Just updated to the latest version 0.33... The errors remain (only the line numbers have changed) and I notice a new error after updating the swf :

    [xxx] PHP Warning:  Invalid argument supplied for foreach() in /xxx/xxx/wp-content/plugins/wpcu3er/wpcu3er.php on line 1431
    [xxx] PHP Warning:  Invalid argument supplied for foreach() in /xxx/xxxwp-content/plugins/wpcu3er/tpl/header.php on line 13
    ...
    [xxx] PHP Warning:  chmod() [<a href='function.chmod'>function.chmod</a>]: No such file or directory in /xxx/xxx/wp-content/plugins/wpcu3er/wpcu3er.php on line 784
  3. RavanH
    Member
    Posted 2 years ago #

    So... the PHP Warnings have disappeared since one of the recent upgrades (I assume) which is great :)

    But I still get lots of these:

    [23-jun-2011 14:58:21] Erreur de la base de données WordPress 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 != 443
    AND p.post_status = 'publish'
    AND p.post_date_gmt < NOW()
    GROU' at line 6 pour la requête
    SELECT p.*, count(tr.object_id) as count
    FROM wp_28_term_taxonomy AS tt, wp_28_term_relationships AS tr, wp_28_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 != 443
    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; faite par require, require_once, include, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, related_posts_content_shortcode

    Could these originate from wpcu3er or is this another plugin?

  4. RavanH
    Member
    Posted 2 years ago #

    OK, that last error turned out to originate from the Karme Theme Framework. I've posted a fix on http://support.truethemes.net/entries/20224223-scary-error-when-post-has-no-tags for anyone who's interested.

  5. RavanH
    Member
    Posted 2 years ago #

    And suddenly, the original error is back:

    ...
    [xxx] PHP Warning:  Invalid argument supplied for foreach() in /xxx/xxxwp-content/plugins/wpcu3er/tpl/header.php on line 13
    ...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags