• lovelyserpentine

    (@lovelyserpentine)


    My site suddenly came up like this:

    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 ‘,,,,,,,,,,,,,)’ at line 4]
    SELECT DISTINCT ID, category_id, cat_name, category_nicename, category_description, category_parent FROM wp_categories, wp_post2cat, wp_posts WHERE category_id = cat_ID AND post_id = ID AND post_id IN (,,,,,,,,,,,,,,)

    Warning: Invalid argument supplied for foreach() in /home/twisted/public_html/fate/wp-blog-header.php on line 478

    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 ‘,,,,,,,,,,,,,) GROUP BY ID’ at line 4]
    SELECT ID, COUNT( comment_ID ) AS ccount FROM wp_posts LEFT JOIN wp_comments ON ( comment_post_ID = ID AND comment_approved = ‘1’) WHERE post_status = ‘publish’ AND ID IN (,,,,,,,,,,,,,,) GROUP BY ID

    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 post_id,meta_key’ at line 3]
    SELECT post_id,meta_key,meta_value FROM wp_postmeta WHERE post_id IN(,,,,,,,,,,,,,,) ORDER BY post_id,meta_key

    Fatal error: Call to undefined function: array() in /home/twisted/public_html/fate/wp-includes/functions.php on line 1129

    I did not do anything to the code recently.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘how do I fix this?’ is closed to new replies.