Title: Debugging HTML
Last modified: August 21, 2016

---

# Debugging HTML

 *  Resolved [MatthewWellington](https://wordpress.org/support/users/matthewwellington/)
 * (@matthewwellington)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/debugging-html/)
 * On one of my websites, this HTML appears at the top of the page on all but the
   home page:
 * Warning: Missing argument 2 for wpdb::prepare(), called in /home2/mattwell/public_html/
   firstclassdesigners.com/wp-content/themes/nemesis/plugins/post-types-order/post-
   types-order.php on line 168 and defined in /home2/mattwell/public_html/firstclassdesigners.
   com/wp-includes/wp-db.php on line 992
 * Warning: Missing argument 2 for wpdb::prepare(), called in /home2/mattwell/public_html/
   firstclassdesigners.com/wp-content/themes/nemesis/plugins/post-types-order/post-
   types-order.php on line 239 and defined in /home2/mattwell/public_html/firstclassdesigners.
   com/wp-includes/wp-db.php on line 992
 * I have checked in the wp-db.php file and it says debugging is off. How do I fix
   or get rid of this?
 * Thanks in advance,
 * Matthew

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

 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/debugging-html/#post-4016348)
 * Some information on why that error might be showing up: [http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/](http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/)
 *  Thread Starter [MatthewWellington](https://wordpress.org/support/users/matthewwellington/)
 * (@matthewwellington)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/debugging-html/#post-4016354)
 * Great, thanks. They are no longer there. I know I just disabled the error messages,
   so I’m not sure if I should fix anything, but for now it’s good.
 * Cheers.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/debugging-html/#post-4016364)
 * Glad it worked!
 * …Just some added info – the Nemesis theme was last updated on August 2, 2013,
   so if you haven’t updated your copy yet (I’m guessing the _post-types-order plugin_
   included in the theme might be causing the issue) you may want to log into your
   account over at themeforest and check into updating if needed.
 * Last changelog:
 * > = V1.5 * 02.08.2013 =
   >  * Fix main menu issue on WordPress 3.6
 * Good luck!

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

The topic ‘Debugging HTML’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/debugging-html/#post-4016364)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
