Title: activation error
Last modified: August 21, 2016

---

# activation error

 *  [dlt101](https://wordpress.org/support/users/dlt101/)
 * (@dlt101)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/activation-error-11/)
 * Wrote a plugin. Seems to be working ok. But every time I update the code, the
   debug.log adds a line as follows:
 * WordPress database error Multiple primary key defined for query ALTER TABLE mytable
   ADD PRIMARY KEY (myid)
 * How do I stop this from happening?

The topic ‘activation error’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [dlt101](https://wordpress.org/support/users/dlt101/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/activation-error-11/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
