Title: warning message on my posts
Last modified: August 20, 2016

---

# warning message on my posts

 *  [31gabib](https://wordpress.org/support/users/31gabib/)
 * (@31gabib)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-message-on-my-posts/)
 * Hi, starting today or last night, I realized warning message on all my post with
   pictures
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/
   26/9888026/html/wp-content/plugins/nextgen-gallery/lib/tags.php on line 318 and
   defined in /home/content/26/9888026/html/wp-includes/wp-db.php on line 990 what
   does it mean and how to resolve this. Thank you.

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

 *  [mar1965](https://wordpress.org/support/users/mar1965/)
 * (@mar1965)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-message-on-my-posts/#post-3285042)
 * Hi,
 * Did you just upgrade to WordPress 3.5 recently? If so, please read this post:
   [PHP Warning Missing Argument 2 for wp-db(prepare)](http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/).
   The top section of the post describes how to turn off the warnings. The rest 
   of the post is geared towards developers of plugins and themes. The path you 
   provided in the initial part of your post appears to be plugin related. You may
   need to contact the developer of the plugin.
 *  Thread Starter [31gabib](https://wordpress.org/support/users/31gabib/)
 * (@31gabib)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-message-on-my-posts/#post-3285050)
 * o.k. thanks, that is very helpful. Just please tell me, where do I find wp-config.
   php
    I think I have been searching for it before as I wanted to set up subdomain
   and could not find it. I am not a programer, just a user so I need simple step
   by step explanation, please. Thank you.
 *  [mar1965](https://wordpress.org/support/users/mar1965/)
 * (@mar1965)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-message-on-my-posts/#post-3285052)
 * Not a problem at all.
 * The wp-config.php file should be located in the root directory – the same directory/
   folder that WordPress is installed in. In your case, it looks like it is in the
   html directory. To edit the file, you will need access:
 * 1) Through your hosting account control panel file manager
    2) Or, using an ftp
   program
 * Once you’ve found the file:
 * 1) Download it to your local drive
    2) Make an extra copy before making changes(
   just in case something goes wrong and you need to restore it later on) 3) Modify
   the file (making the changes recommended in the original link that I sent you)
   using a text editor 4) Save the changes 5) Upload the file to the same directory
   where you downloaded it from
 *  Thread Starter [31gabib](https://wordpress.org/support/users/31gabib/)
 * (@31gabib)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-message-on-my-posts/#post-3285057)
 * I must admit I am not much smarter now 🙂 but I will try – once I will be able
   to locate it (or better to find the control panel file manager) I should be fine
   🙂 Thank you again very much.

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

The topic ‘warning message on my posts’ is closed to new replies.

## Tags

 * [NextGEN galleries](https://wordpress.org/support/topic-tag/nextgen-galleries/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [31gabib](https://wordpress.org/support/users/31gabib/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/warning-message-on-my-posts/#post-3285057)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
