13.5 -> 14.0.4 upgrade error: wpstg0_yoast_indexable already exists
-
Hi, finally got a bug report working on my staging site.
I run WP 5.4.1, Yoast SEO 13.5 (free version) on Debian unstable with MariaDB 10.3.22 and PHP 7.3.15.
My wp-config.php file has the following for charset and collation:define('DB_CHARSET', 'utf8'); define('DB_COLLATE', '');
Behaviour:
1. The update of the Yoast plugin from the dashboard “Plugins” screen completes successfully, no debug.log generated.
2. Then, when I click on dashboard “Updates” again to check if anything else needed, then I get the dreaded “Yoast SEO was unable to create the database tables required and as such will not function correctly.” message, and a debug log is generated, as below.
It looks like a spurious error message since the table already exists. I have seen you want to do a re-index on sites in 14.0.4. Would it be useful to delete the table first then, or copy it somewhere else, e.g., for downgrade purposes, and then go ahead with 14.0.4 required table generation?
[03-May-2020 05:08:41 UTC] WordPress database error Table ‘wpstg0_yoast_indexable’ already exists for query CREATE TABLE
wpstg0_yoast_indexable
(
id
int(11) UNSIGNED auto_increment NOT NULL,
permalink
mediumtext,
permalink_hash
varchar(191),
object_id
int(11) UNSIGNED,
object_type
varchar(32) NOT NULL,
object_sub_type
varchar(32),
author_id
int(11) UNSIGNED,
post_parent
int(11) UNSIGNED,
title
varchar(191),
description
text,
breadcrumb_title
varchar(191),
post_status
varchar(191),
is_public
tinyint(1),
is_protected
tinyint(1) DEFAULT ‘0’,
has_public_posts
tinyint(1),
number_of_pages
int(11) UNSIGNED,
canonical
mediumtext,
primary_focus_keyword
varchar(191),
primary_focus_keyword_score
int(3),
readability_score
int(3),
is_cornerstone
tinyint(1) DEFAULT ‘0’,
is_robots_noindex
tinyint(1) DEFAULT ‘0’,
is_robots_nofollow
tinyint(1) DEFAULT ‘0’,
is_robots_noarchive
tinyint(1) DEFAULT ‘0’,
is_robots_noimageindex
tinyint(1) DEFAULT ‘0’,
is_robots_nosnippet
tinyint(1) DEFAULT ‘0’,
twitter_title
varchar(191),
twitter_image
mediumtext,
twitter_description
mediumtext,
twitter_image_id
varchar(191),
twitter_image_source
varchar(191),
open_graph_title
varchar(191),
open_graph_description
mediumtext,
open_graph_image
mediumtext,
open_graph_image_id
varchar(191),
open_graph_image_source
varchar(191),
open_graph_image_meta
text,
link_count
int(11),
incoming_link_count
int(11),
prominent_words_version
int(11) UNSIGNED,
PRIMARY KEY (id
)) DEFAULT CHARSET=utf8; made by require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, wpseo_init, YoastSEO, Yoast\WP\SEO\Main->load, Yoast\WP\SEO\Loader->load, Yoast\WP\SEO\Loader->load_initializers, Yoast\WP\SEO\Initializers\Migration_Runner->initialize, Yoast\WP\SEO\Initializers\Migration_Runner->run_free_migrations, Yoast\WP\SEO\Initializers\Migration_Runner->run_migrations, YoastSEO_Vendor\Ruckusing_Task_Manager->execute, YoastSEO_Vendor\Task_Db_Migrate->execute, YoastSEO_Vendor\Task_Db_Migrate->prepare_to_migrate, YoastSEO_Vendor\Task_Db_Migrate->run_migrations, WpYoastIndexable->up, WpYoastIndexable->add_table, YoastSEO_Vendor\Ruckusing_Adapter_MySQL_TableDefinition->finish, Yoast\WP\Lib\Ruckusing_Adapter->execute_ddl, Yoast\WP\Lib\Ruckusing_Adapter->queryUgh, no luck getting the debug log formatted properly.
- The topic ‘13.5 -> 14.0.4 upgrade error: wpstg0_yoast_indexable already exists’ is closed to new replies.