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

  1. DigiDocs
    Posted 2 years 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

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


  2. jsoloway
    Posted 2 years 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pop! Popular Posts for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic