Sanjeev Sabhlok's notes on technology, hardware, gardening

Category: Uncategorized

Continue Reading
Continue Reading

Recover missing wp_termmeta table in WordPress.

THERE IS ONLY ONE WAY TO FIX THIS ISSUE.

Run the following SQL query in phpmyadmin (make sure you put in your prefix after wp_ in case you have customised prefixes):


CREATE TABLE `wp_termmeta` (
  `meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `term_id` bigint(20) unsigned NOT NULL DEFAULT '0',
  `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meta_value` longtext COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`meta_id`),
  KEY `term_id` (`term_id`),
  KEY `meta_key` (`meta_key`(191))
) ENGINE=InnoDB AUTO_INCREMENT=3255 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
Continue Reading