Error: Could Not Save the Snippet or the Data
This error has been in the Squirrly SEO plugin since 2019. Older versions showed it as “ERROR! Could not save the data. Please try again”.
In Squirrly SEO 14.2.12 the same problem shows one of these messages:
- When you save an SEO Snippet: Could not save the snippet. Please check the database table wp_qss integrity. (with your own table prefix instead of wp_)
- When an AI assistant saves the SEO through the Squirrly abilities (MCP): Error! Could not save the data.
Both mean the plugin can’t save the SEO Snippet into the database.
Situations when this error is triggered:
- The database table (wp)_qss was deleted and the plugin doesn’t have the permission to create it again.
- The table integrity is affected and not all columns are present in the table. The table needs these columns: id, blog_id, post, URL, url_hash, seo and date_time.
- The table character set doesn’t match the data you save (for example, the table isn’t set to UTF8 or UTF8mb4).
Solutions:
1. Deactivate and activate Squirrly SEO from Plugins. On activation, the plugin checks that the (wp)_qss table exists, creates it if it’s missing, and adds the post column if it’s missing. Then try to save the snippet again.
If the error is still there, the database user probably can’t create or change tables. Ask your host to check the permissions, or run the SQL below in phpMyAdmin. Back up your database first.
2. Create the table with your WordPress table prefix and the name _qss. The example uses the default wp_ prefix: change it to the one set in wp-config.php ($table_prefix). Use the same character set and collation as your other WordPress tables (the example uses utf8mb4).
CREATE TABLEwp_qss(idBIGINT UNSIGNED NOT NULL AUTO_INCREMENT,blog_idINT(10) NOT NULL,postVARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,URLVARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,url_hashVARCHAR(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,seotext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,date_timeDATETIME NOT NULL,
PRIMARY KEY (id),
UNIQUEurl_hash(url_hash) USING BTREE,
INDEXblog_id_url_hash(blog_id,url_hash) USING BTREE
)
DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
3. If the table exists but the post column is missing, add it with this SQL command:
ALTER TABLEwp_qssADD COLUMNpostVARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT ''
4. To set the table’s default character set, run this SQL command (again with the character set and collation of your other WordPress tables):
ALTER TABLE wp_qss DEFAULT CHARACTER SET=utf8mb4 COLLATE=utf8mb4_unicode_ciOther Squirrly SEO messages are listed in Squirrly SEO Error Messages.



