Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    This should be safe to ignore.

    Plugin Author Shea Bunge

    (@bungeshea)

    To elaborate, this error is caused by changing how the primary key is applied in the SQL code. It seems that a change was introduced somewhere in 2.1.0, but I’ve hopefully fixed this in 2.2.0. Once again, this error should be perfectly fine to ignore.

    Thread Starter Samuel Aguilera

    (@samuelaguilera)

    I’m afraid the issue with database errors is not still resolved. Now I get the following error after upgrading to 2.2.2:

    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_snippets ADD primary key (id)

    Maybe is not a fatal error, but it’s an error in your database configuration that should be fixed to ensure your plugin tables are created as expected.

    Regards.

    Thread Starter Samuel Aguilera

    (@samuelaguilera)

    Finally 2.2.3 update fixed the issue.

    Thanks.

    Plugin Author Shea Bunge

    (@bungeshea)

    Thanks for reporting the issue

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘WordPress database error: [Multiple primary key defined]’ is closed to new replies.