Title: Problems&#8230;
Last modified: August 18, 2016

---

# Problems…

 *  [isaacrtree](https://wordpress.org/support/users/isaacrtree/)
 * (@isaacrtree)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/problems-1-2/)
 * `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 ",,,,,,,,,,,,,,,,,,,,,,]
   
   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 /hsphere/local/home/zackdesi/
   nfo.zackdesign.biz/wp/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 “,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,]
   
   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 ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,]
   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/
   hsphere/local/home/zackdesi/nfo.zackdesign.biz/wp/wp-includes/functions.php on
   line 1122`
 * I thought I should put the entire lot in to make it easier to see what I mean…
 * I recently found that someone had hacked my site and added some popups that would
   install viruses. It seemed as if he’d only changed the index.php page, so I fixed
   that and everything was fine, for a day or two. Then, suddenly I find that the
   above error codes appear. What do they mean and how do you fix them? I have already
   checked that all the categories are used, etc., etc.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/problems-1-2/#post-125985)
 * [http://wordpress.org/development/2004/12/terribly-broken/](http://wordpress.org/development/2004/12/terribly-broken/)
 *  Thread Starter [isaacrtree](https://wordpress.org/support/users/isaacrtree/)
 * (@isaacrtree)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/problems-1-2/#post-125986)
 * Thanks!! You’ve saved a life!
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/problems-1-2/#post-125989)
 * It’s easy just tossing a life preserver from the railing.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problems…’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [21 years, 4 months ago](https://wordpress.org/support/topic/problems-1-2/#post-125989)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
