An error occurred while saving data to the database additional table `dede_addonarticle` Duplicate entry '3' for

Save the data to a database attached table dede_addonarticlewas an error, please submit the relevant information to the DedeCms official. Duplicate entry '3' for key'PRIMARY'

Your primary key is non-repeatable. Now the primary key with a value of 3 is repeatedly inserted. You can remove the unique primary key, or set it as self-increasing. This will not happen anymore.

Specific operation:
enter the background, "System"-"System Settings"-"SQL Command Line Tool"

Run the SQL command line:

alter table dede_addonarticle drop primary key

There is no prompt after running the above code

ok! solved! Pro test works! !

Guess you like

Origin blog.csdn.net/a9490489/article/details/108181345