Forums

[Plugin: WordPress Popular Posts] SQL errors on pages when popular posts activated (1 post)

  1. AndrewRH
    Member
    Posted 3 years ago #

    I installed v1.4.6 of WordPress Popular Posts. The top of every posting then had this error message displayed:

    WordPress database error: [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 'ON DUPLICATE KEY UPDATE pageviews=pageviews+1' at line 1]
    INSERT INTO wp_popularpostsdata (postid, day) VALUES ('2864', NOW()) ON DUPLICATE KEY UPDATE pageviews=pageviews+1

    ~Andrew~

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.