Forums

Error with Popularity Contest plugin (2 posts)

  1. pasquires
    Member
    Posted 2 years ago #

    I'm running popularity contest and it seems to work okay generally - apart from when creating editing or deleting posts / pages. I'm using the latest version on WP2.1 (although it did exactly the same before I upgraded).

    Under any of those conditions I get the following message

    Warning: Invalid argument supplied for foreach() in /~/wp-content/plugins/popularity-contest/popularity-contest.php on line 1313
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3 on line: 1321

    On a new post or edit, the action takes place anyway - so it's not serious, but inconvenient. When deleting a post or page it doesn't actually work.

    I'm guessing there's an incompatibility with another plugin .

  2. samboll
    moderator
    Posted 2 years ago #

    You may be right about incompatibility.
    So deactivate them all and reactivate one by one, testing between.
    If that's not it, your plugin is probably not updated for 2.1. Contact the author.
    In the plugin compatibility section it shows Popularity Contest (http://svn.wp-plugins.org/popularity-contest/) 1.2b
    is the latest and works with 2.1. Do you need an upgrade?

Topic Closed

This topic has been closed to new replies.

About this Topic