I was seeing this issue as well, since update to v14.0.
It seems I had DB_COLLATION
(incorrectly) set to utf8
in my wp-config.php
. 14.0 includes a DB migration which explicitly sets collation on the Yoast tables, so the incorrect collation entry was causing this to throw an error.
The error message is a little unclear as to what has actually gone wrong, as it implies a table creation error.
I removed the constant and allowed WP to use it’s default collation, which seems to have worked fine. I guess I could also have explicitly set it to utf8_general_ci
/ utf8mb4_unicode_ci
.
If you are having this problem, and you know that your DB user has permission to create / edit tables (if you managed to install WP in the first place this is probably the case), check your wp-config.php
file to see if you have a DB_COLLATION
constant set.
– If set, try removing it.
– If not set, try adding one, either:
— define('DB_COLLATION', 'utf8_general_ci');
— define('DB_COLLATION', 'utf8mb4_unicode_ci');
Depending on your version of MySQL / WordPress.