Support » Plugin: WP ULike » Duplicated Entry 0

  • lucho13

    (@lucho13)


    Hi, I am using WP 4.1 in a single site instalation and I keep getting this error when I like various comments:

    WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’]
    INSERT INTO wpxx_ulike_comments VALUES (”, ‘125198’, NOW(), ‘190.1XX.1XX.XX’, ‘10834’, ‘like’)

    I have tried to erase the field in wpxx_ulike_comments table, but it stills get recreated even when i have chosen to log by cookies and not by ip.

    Does anyone had this same issue?

    Thanks!
    Luciano

    https://wordpress.org/plugins/wp-ulike/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alimir

    (@alimir)

    Hi Luciano,
    Try this way:
    – open phpMyAdmin
    – select the WordPress database
    – select table “wpxx_ulike_comments”
    – change the row with the field “id”
    – select “auto_increment” from the last pull down menu in the row
    – save

    lucho13

    (@lucho13)

    Hi Alimir for your answer. It is setted alright, but for some reason the plugin is not creating other id other than 0. I tried modifying the id of the 1st like comment to “1” instead of “0”, but the plugin will create again the id “0” and will stuck there.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicated Entry 0’ is closed to new replies.