[resolved] Not woking with WordPress 3.5 (3 posts)

  1. a_blogger
    Posted 3 years ago #

    Since upgrading to wordpress 3.5 I can not get this plugin to work, I am getting errors like:

    “Views Today: Warning: Missing argument 2 for wpdb::prepare(), called in /var/www/vhosts/xxxxxx.com/xxxxxx/wp-content/plugins/post-views/post-views.php on line 2517 and defined in /var/www/vhosts/xxxxxx.com/xxxxxxx/wp-includes/wp-db.php on line 990 80″

    I have replaced the url with xxxxxx for security purposes. If I disable the plugin, the errors go away, but I was using it on a lot of pages on the site…. Any help would be appreciated.


  2. Massimo Viriglio
    Posted 3 years ago #

    same problem... any solution? thanks

  3. Drew Jaynes
    Docs Czar
    Posted 3 years ago #

    It is caused by a function using fewer than 2 arguments in the wpdb::prepare() method.

    The plugin author should be referred to these links:

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • post-views
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.