DB Duplicate column name when updates the plugin
-
When I tried to updates the plugin to latest version it cause a lot of problem.
]WordPress database error Duplicate column name 'twitter_image_url' for query ALTER TABLE wp_aioseo_posts ADD twitter_image_url text DEFAULT NULL AFTER twitter_image_type 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('init'), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Main\Updates->runUpdates, AIOSEO\Plugin\Common\Main\Updates->migrateOgTwitterImageColumns, AIOSEO\Plugin\Common\Utils\Database->execute WordPress database error Duplicate column name 'twitter_image_url' for query ALTER TABLE wp_aioseo_posts ADD twitter_image_url text DEFAULT NULL AFTER twitter_image_type made by include('fix.php'), require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Main\Updates->runUpdates, AIOSEO\Plugin\Common\Main\Updates->migrateOgTwitterImageColumns, AIOSEO\Plugin\Common\Utils\Database->execute WordPress database error Duplicate column name 'twitter_image_url' for query ALTER TABLE wp_aioseo_posts ADD twitter_image_url text DEFAULT NULL AFTER twitter_image_type made by include('fix.php'), require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, AMP_Validation_Manager::{closure}, AMP_Validation_Callback_Wrapper->__invoke, AIOSEO\Plugin\Common\Main\Updates->runUpdates, AIOSEO\Plugin\Common\Main\Updates->migrateOgTwitterImageColumns, AIOSEO\Plugin\Common\Utils\Database->execute ....Apparently the plugin tried to recreate the columns everytime i activate the plugin.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘DB Duplicate column name when updates the plugin’ is closed to new replies.