WordPress.org

Ready to get started?Download WordPress

Forums

Warning: Missing argument 2 for wpdb::prepare() (6 posts)

  1. iedyweb
    Member
    Posted 1 year ago #

    Hi, after upgrade my blog to 3.5 version in my comments section I receive this warning message

    Warning: Missing argument 2 for wpdb::prepare(), called in /xxx/xxx/xxx/wp-content/plugins/akismet/admin.php on line 332 and defined in /xxx/xxx/xxx/wp-includes/wp-db.php on line 990

    Can you help me please? Thank you.

  2. Prasanna SP
    Member
    Posted 1 year ago #

    Same here. Something is wrong with Akismet plugin. Found another thread with the same issue - http://wordpress.org/support/topic/akismet-causing-wp-dbphp-problem-after-35-upgrade

  3. v8paul
    Member
    Posted 1 year ago #

    Me too !

  4. froomkin
    Member
    Posted 1 year ago #

    And me four.

    I'm told by WordPress support to refer you to https://core.trac.wordpress.org/changeset/22429

    The good news is that this seems to just be a warning so far -- things do seem to be working normally otherwise.

  5. S. Book
    Member
    Posted 1 year ago #

    If the warning is really bugging you, you can add an empty array argument as shown here: http://www.skyebook.net/blog/2012/12/wpdbprepare-warning-in-wordpress-3-5/

  6. Prasanna SP
    Member
    Posted 1 year ago #

    I just logged in back to my WordPress dashboard and this warning is no longer appearing on comments page. Strange!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.