Title: Database error!
Last modified: May 28, 2025

---

# Database error!

 *  Resolved [tonygao](https://wordpress.org/support/users/tonygao/)
 * (@tonygao)
 * [1 year ago](https://wordpress.org/support/topic/database-error-420/)
 * WordPress database error Unknown column ‘storeId’ in ‘field list’ for query INSERT
   INTO `wp_mwai_chats` (`userId`, `ip`, `messages`, `extra`, `botId`, `chatId`,`
   threadId`, `storeId`, `created`, `updated`) VALUES
 * Plugin version: 2.8.2
    -  This topic was modified 1 year ago by [tonygao](https://wordpress.org/support/users/tonygao/).

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

 *  Plugin Support [Val Meow](https://wordpress.org/support/users/valwa/)
 * (@valwa)
 * [1 year ago](https://wordpress.org/support/topic/database-error-420/#post-18492572)
 * Hey [@tonygao](https://wordpress.org/support/users/tonygao/)! 👋
 * This usually happens when the plugin hasn’t been updated regularly and you’ve
   skipped multiple versions. In such cases, the database structure may be outdated
   and incompatible, preventing data from being saved properly.
 * To fix this:
    1. **Go to the plugin settings** and **export your settings** to avoid losing them.
    2. **Enable the “Delete Data” option** in the settings.
    3. **Uninstall the plugin** — with the option enabled, this will completely remove
       the plugin’s data, including the outdated database structure.
    4. **Reinstall the plugin** — this will create the correct database structure from
       scratch.
    5. **Import your previously saved settings**.
 *  Thread Starter [tonygao](https://wordpress.org/support/users/tonygao/)
 * (@tonygao)
 * [1 year ago](https://wordpress.org/support/topic/database-error-420/#post-18493168)
 * Thanks

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

The topic ‘Database error!’ is closed to new replies.

 * ![](https://ps.w.org/ai-engine/assets/icon-256x256.png?rev=3431928)
 * [AI Engine - The Chatbot, AI Framework & MCP for WordPress](https://wordpress.org/plugins/ai-engine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ai-engine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ai-engine/)
 * [Active Topics](https://wordpress.org/support/plugin/ai-engine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ai-engine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ai-engine/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tonygao](https://wordpress.org/support/users/tonygao/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/database-error-420/#post-18493168)
 * Status: resolved