WordPress database error: [Multiple primary key defined] – Fixed
-
Hi
I have WP_DEBUG set to true and when I activate the plugin I get the “WordPress database error: [Multiple primary key defined]” issue.
I looked into the code and found a space is missing in declaring the primary key. Please check how to use db delta for creating table
You must have two spaces between the words PRIMARY KEY and the definition of your primary key.
I fixed the issue by giving another space, hope this would be there in the next update.
Hope it helps!!
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WordPress database error: [Multiple primary key defined] – Fixed’ is closed to new replies.