WordPress.org

Ready to get started?Download WordPress

Forums

Pop! Popular Posts for WordPress
Missing argument (2 posts)

  1. DigiDocs
    Member
    Posted 10 months ago #

    Since updating to WP 3.6 I'm getting a
    Warning: Missing argument 2 for wpdb::prepare(), called in /customers/1/2/4/mysite.com/httpd.www/wp-content/plugins/pop-popular-posts/pop-posts.php on line 134 and defined in /customers/1/2/4/mysite.com/httpd.www/wp-includes/wp-db.php on line 992
    respons.

    How do I fix this? Or is there an update coming for this plugin?

    http://wordpress.org/plugins/pop-popular-posts/

  2. jsoloway
    Member
    Posted 7 months ago #

    Not sure about an update for the plugin (that would be nice), but you can turn off the warning from displaying in your output by adding one line to wp-config.php.

    I found this article to be helpful: http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/

Reply

You must log in to post.

About this Plugin

About this Topic