Title: missing argument
Last modified: August 20, 2016

---

# missing argument

 *  Resolved [blogbyb](https://wordpress.org/support/users/blogbyb/)
 * (@blogbyb)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/missing-argument-1/)
 * Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/86/9117486/
   html/wp-content/themes/curation_traffic/functions.php on line 647 and defined
   in /home/content/86/9117486/html/wp-includes/wp-db.php on line 990
 * Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/86/9117486/
   html/wp-content/themes/curation_traffic/functions.php on line 647 and defined
   in /home/content/86/9117486/html/wp-includes/wp-db.php on line 990

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

 *  [Drew Jaynes](https://wordpress.org/support/users/drewapicture/)
 * (@drewapicture)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/missing-argument-1/#post-3261273)
 * Hi blogbyb,
 * You’ll need to get in touch with your theme author and refer them to this changeset:
   [https://core.trac.wordpress.org/changeset/22429](https://core.trac.wordpress.org/changeset/22429)
 * For now, you can just disable error reporting & display by opening your `wp-config.
   php` file and adding this:
 *     ```
       ini_set( 'display_errors', false );
       error_reporting( 0 );
       ```
   
 * Moving to How-To and Troubleshooting.
 *  [scottscanlon](https://wordpress.org/support/users/scottscanlon/)
 * (@scottscanlon)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/missing-argument-1/#post-3261323)
 * blogbyb (and anyone else visiting),
 * Sorry for the errors.
 * We have a fix on it’s way, just entered testing and should have it out by tonight.
 *  [Andrew Nacin](https://wordpress.org/support/users/nacin/)
 * (@nacin)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/missing-argument-1/#post-3261340)
 * More information for developers: [https://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/](https://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/).
 * Users: Note that your site is fine.
 *  [DinoCSP](https://wordpress.org/support/users/dinocsp/)
 * (@dinocsp)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/missing-argument-1/#post-3261403)
 * I am getting this same exact error, but it has nothing to do with theme, it happens
   no matter what on the wp backend when I try to update a post/page.
 * Help!!!
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/missing-argument-1/#post-3261404)
 * [@dinocsp](https://wordpress.org/support/users/dinocsp/):** read the link**; 
   the error can occur with a _theme or plugin_. Deactivate all plugins.
 *  [DinoCSP](https://wordpress.org/support/users/dinocsp/)
 * (@dinocsp)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/missing-argument-1/#post-3261405)
 * As I’ve said, it has nothing to do with theme, and also plugin – deactivated 
   all and used the twentytwele theme. It sucks, but I’ll get around it somehow,
   fortunately it a backend problem so users do not suffer from it.

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

The topic ‘missing argument’ is closed to new replies.

## Tags

 * [wpdb::prepare](https://wordpress.org/support/topic-tag/wpdbprepare/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 6 participants
 * Last reply from: [DinoCSP](https://wordpress.org/support/users/dinocsp/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/missing-argument-1/#post-3261405)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
