• Everything was working fine this time yesterday.
    Then I received this at 8pm today.
    I looked the line of code mentioned in the error message, and everything looked fine to me and my limited knowledge of PHP.
    Any ideas?
    Thanks,
    Chase
    Here’s the error. To see it first hand visit:
    https://www.chasesouthard.com

    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/chaserx/public_html/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/chaserx/public_html/wp-includes/functions.php on line 1122

    UPDATE:
    When I login to the admin page the all of the functions at the top have been replaced by “Array” … However, “View Site >> Logout” remains the same.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error’ is closed to new replies.