ERROR! Could not save the data. Please try again
This error message was added in Squirrly SEO plugin since 2019.
If you’re getting this error, the plugin can’t save the SEO Snippet into database.
Situations when this error is triggered:
- The database table (wp)_qss is 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 Character Set is not set to UTF8 or UTF8mb4 and the saving data doesn’t match.
Solutions:
1. Create the table with the correct WordPress table prefix and the name _qss. We will use the default WordPress prefix but you need to change the wp prefix with the one you set in wp-config.php
CREATE TABLEwp_qss
(id
bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT ,blog_id
int(10) NOT NULL ,URL
varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,url_hash
varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,seo
text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,date_time
datetime NOT NULL ,post
varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' ,
PRIMARY KEY (id
),
UNIQUE INDEXurl_hash
(url_hash
) USING BTREE ,
INDEXblog_id_url_hash
(blog_id
,url_hash
) USING BTREE
)
ENGINE=MyISAM
DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci
2. Alter the table with this SQL command:
ALTER TABLEwp_qss
ADD COLUMNpost
varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT ''
3. Run the SQL command:
ALTER TABLE wp_qss
DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci