Title: wp_aioseo_cache – Errors &#8211; db
Last modified: January 11, 2026

---

# wp_aioseo_cache – Errors – db

 *  Resolved [flecky](https://wordpress.org/support/users/flecky/)
 * (@flecky)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/wp_aioseo_cache-errors-db/)
 * hello i get a few different error logs like that:
 * FastCGI sent in stderr: “PHP message: WordPress database error Incorrect integer
   value: ” for column `c0_musics`.`music_aioseo_cache`.`is_object` at row 1 for
   query INSERT INTO music_aioseo_cache
 * SET `key` = ‘db_schema’, `value` = ‘{\”music_aioseo_ai_insights_keyword_reports\”:[\”
   id\”,\”uuid\”,\”keyword\”,\”status\”,\”brands\”,\”brands_mentioned\”,\”results\”,\”
   created\”,\”updated\”],\”music_users\”:[\”ID\”,\”user_login\”,\”user_pass\”,\”
   user_nicename\”,\”user_email\”,\”user_url\”,\”user_registered\”,\”user_activation_key\”,\”
   user_status\”,\”display_name\”],\”music_amz_products\”:[\”id\”,\”post_id\”,\”
   post_parent\”,\”type\”,\”title\”,\”nb_assets\”,\”nb_assets_done\”,\”status\”],\”
   music_wc_category_lookup\”:[\”category_tree_id\”,\”category_id\”],\”music_wc_order_operational_data\”:[\”
   id\”,\”order_id\”,\”created_via\”,\”woocommerce_version\”,\”prices_include_tax\”,\”
   coupon_usages_are_counted\”,\”download_permission_granted\”,\”cart_hash\”,\”new_order_email_sent\”,\”
   order_key\”,\”order_stock_reduced\”,”
 * the table is empty. i ´ve already createt a new music_aioseo_cache, but its not
   helping. also manually inserting doesent help.
 * thank you

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

 *  Plugin Support [Shivam Tyagi](https://wordpress.org/support/users/shivamtyagi/)
 * (@shivamtyagi)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/wp_aioseo_cache-errors-db/#post-18784957)
 * Hi [@flecky](https://wordpress.org/support/users/flecky/) ,
 * Thanks for sharing the full error log.
 * This error usually happens when the aioseo_cache table schema doesn’t match what
   AIOSEO expects. In that case, even if the table exists, inserts can fail with
   errors like the one you’re seeing.
 * Because this involves database schema, the best next step would be to have you
   reach out to us directly so we can guide you safely and confirm the correct structure
   for your install.
 * Please contact us through our support form here (click on “submit our Basic Question
   form”):
   [https://aioseo.com/contact/](https://aioseo.com/contact/)Once you submit
   the form, we’ll be happy to take a look and help you get this fixed.
 *  Thread Starter [flecky](https://wordpress.org/support/users/flecky/)
 * (@flecky)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/wp_aioseo_cache-errors-db/#post-18785501)
 * if someone else is looking up for this..
 * this code fixed the entire bug in mysql. but its just a workaround.
 * [mysqld]
   sql_mode = NO_ENGINE_SUBSTITUTION,ERROR_FOR_DIVISION_BY_ZERO
 * then restart mysql.
 *  Plugin Support [Shivam Tyagi](https://wordpress.org/support/users/shivamtyagi/)
 * (@shivamtyagi)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/wp_aioseo_cache-errors-db/#post-18786267)
 * Hi [@flecky](https://wordpress.org/support/users/flecky/),
 * Thanks a lot for coming back and sharing this!
 * Changing MySQL’s sql_mode can absolutely affect how strict MySQL is about inserts(
   for example when an empty string is inserted into an integer column), so it makes
   sense that this resolved the errors on your server.
 * That said, just as a note for anyone else reading: updating the global MySQL 
   sql_mode is more of a **server-level workaround** and may have side effects for
   other sites/apps using the same database server.
 * In most cases, this error points to a **schema/migration mismatch** (where the
   aioseo_cache table structure doesn’t fully match what AIOSEO expects), so the
   recommended fix is still to confirm that the AIOSEO DB schema/migrations completed
   correctly.
 * If anyone runs into this and needs help verifying the expected table structure
   safely, please reach out to us directly here (click on “submit our Basic Question
   form”):
 * [https://aioseo.com/contact/](https://aioseo.com/contact/)
 * Thanks again for posting your solution — really appreciate you taking the time
   to help others!

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp_aioseo_cache-errors-db%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [db](https://wordpress.org/support/topic-tag/db/)

 * 3 replies
 * 2 participants
 * Last reply from: [Shivam Tyagi](https://wordpress.org/support/users/shivamtyagi/)
 * Last activity: [4 months, 1 week ago](https://wordpress.org/support/topic/wp_aioseo_cache-errors-db/#post-18786267)
 * Status: resolved