Title: Dashboard Error on Activation &#8211; &quot;Missing Argument&quot;
Last modified: August 20, 2016

---

# Dashboard Error on Activation – "Missing Argument"

 *  Resolved [donakarissa](https://wordpress.org/support/users/donakarissa/)
 * (@donakarissa)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/dashboard-error-on-activation-missing-argument/)
 * Receive this error in the “Header” section of the “Dashboard”.
 * The “*******” in the string is the first admin account for this site. (Not my
   admin account)
 * > Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/c/
   > s/l/*******/html/training/wp-content/plugins/bp-registration-options/includes/
   > admin.php on line 19 and defined in /home/content/c/s/l/*******/html/training/
   > wp-includes/wp-db.php on line 990
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/content/c/s/l/*******/html/training/wp-includes/wp-db.php:
   > 990) in /home/content/c/s/l/*******/html/training/wp-includes/option.php on
   > line 568
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/content/c/s/l/*******/html/training/wp-includes/wp-db.php:
   > 990) in /home/content/c/s/l/*******/html/training/wp-includes/option.php on
   > line 569
 * [http://wordpress.org/extend/plugins/bp-registration-options/](http://wordpress.org/extend/plugins/bp-registration-options/)

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

 *  [TheLastLegion](https://wordpress.org/support/users/thelastlegion/)
 * (@thelastlegion)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/dashboard-error-on-activation-missing-argument/#post-3358425)
 * Hi just wanted to say I got errors as well
    On the top of my admin pages I got
   this error:
 * `Warning: Missing argument 2 for wpdb::prepare(), called in /home/html/community/
   wp-content/plugins/bp-registration-options/includes/admin.php on line 19 and 
   defined in /home/html/community/wp-includes/wp-db.php on line 990`
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [13 years, 3 months ago](https://wordpress.org/support/topic/dashboard-error-on-activation-missing-argument/#post-3358426)
 * **[@donakarissa](https://wordpress.org/support/users/donakarissa/)** Please give
   this a read.
 * [http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
 * It’s often your `wp-config.php` file that is the culprit for the headers already
   sent problem.
 * Once you’ve sorted that out give this a read for that `Missing argument 2 for
   wpdb::prepare()` problem.
 * > [PHP Warning: Missing argument 2 for wpdb::prepare()](https://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/)
 * You can make that warning go away for now by adding this to your `wp-config.php`
   file.
 *     ```
       @ini_set('display_errors', 0);
       ```
   
 * If you do edit that file make sure you make a backup copy first.
 * **Edit:** Note that that is not a fix, it just hides the warnings. The plugin
   author will need to update their code to really fix it.

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

The topic ‘Dashboard Error on Activation – "Missing Argument"’ is closed to new 
replies.

 * ![](https://ps.w.org/bp-registration-options/assets/icon-256x256.png?rev=2882040)
 * [Registration Options for BuddyPress](https://wordpress.org/plugins/bp-registration-options/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-registration-options/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-registration-options/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-registration-options/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-registration-options/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-registration-options/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/dashboard-error-on-activation-missing-argument/#post-3358426)
 * Status: resolved