Title: Install Errors
Last modified: August 30, 2016

---

# Install Errors

 *  [redactuk](https://wordpress.org/support/users/redactuk/)
 * (@redactuk)
 * [11 years ago](https://wordpress.org/support/topic/install-errors-3/)
 * After activating plugin errors at top opf screen:
 *     ```
       r: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FOREIGN KEY (container_id) REFERENCES srm_container(id)' at line 1]
       ALTER TABLE srm_containerrating ADD COLUMN FOREIGN KEY (container_id) REFERENCES srm_container(id)
   
       WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FOREIGN KEY (review_id) REFERENCES srm_reviews(id)' at line 1]
       ALTER TABLE srm_rating ADD COLUMN FOREIGN KEY (review_id) REFERENCES srm_reviews(id)
   
       WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FOREIGN KEY (container_id) REFERENCES srm_container(id)' at line 1]
       ALTER TABLE srm_reviews ADD COLUMN FOREIGN KEY (container_id) REFERENCES srm_container(id)
       ```
   
 * Can’t really ger further than this as whole WP navigation system gets messed 
   up. Any ideas?
 * [https://wordpress.org/plugins/star-review-manager/](https://wordpress.org/plugins/star-review-manager/)

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

 *  Plugin Author [Bram Dekker](https://wordpress.org/support/users/bramdnl/)
 * (@bramdnl)
 * [11 years ago](https://wordpress.org/support/topic/install-errors-3/#post-6218066)
 * Could you tell me what MYSQL version you are running?
 *  Thread Starter [redactuk](https://wordpress.org/support/users/redactuk/)
 * (@redactuk)
 * [11 years ago](https://wordpress.org/support/topic/install-errors-3/#post-6218071)
 * MySQL version 5.6.17
 *  Plugin Author [Bram Dekker](https://wordpress.org/support/users/bramdnl/)
 * (@bramdnl)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/install-errors-3/#post-6218308)
 * I am sorry for this late response. Your error should be fixed in the new version
   of the plugin. It was probably caused by the dbDelta not fully supporting foreign
   keys.

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

The topic ‘Install Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/star-review-manager_922520.svg)
 * [Star Review Manager](https://wordpress.org/plugins/star-review-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/star-review-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/star-review-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/star-review-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/star-review-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/star-review-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Bram Dekker](https://wordpress.org/support/users/bramdnl/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/install-errors-3/#post-6218308)
 * Status: not resolved