It’s possible you either had an error during installation and the table wasn’t created, or you did a reset and delete and the table was removed. You can recreate this table by logging into your CPanel or whatever you use for SQL access to your Database (phpMyAdmin), etc. and add it back with the following SQL Command
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
CREATE TABLE IF NOT EXISTS `wp_podsrel` ( `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, `pod_id` INT(10) UNSIGNED NULL DEFAULT NULL, `field_id` INT(10) UNSIGNED NULL DEFAULT NULL, `item_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL, `related_pod_id` INT(10) UNSIGNED NULL DEFAULT NULL, `related_field_id` INT(10) UNSIGNED NULL DEFAULT NULL, `related_item_id` BIGINT(20) UNSIGNED NULL DEFAULT NULL, `weight` SMALLINT(5) UNSIGNED NULL DEFAULT '0', PRIMARY KEY (`id`), INDEX `field_item_idx` (`field_id`, `item_id`), INDEX `rel_field_rel_item_idx` (`related_field_id`, `related_item_id`), INDEX `field_rel_item_idx` (`field_id`, `related_item_id`), INDEX `rel_field_item_idx` (`related_field_id`, `item_id`) ) DEFAULT CHARSET utf8; |
This SQL command will check to see if the table exists before creating it.
NOTE: You might have to check the table prefix for your WP installation since, depending on your WP installation, the table prefix might be different. You can find the prefix in the wp-config.php file in the Codex for wp-config.php. If you’re using a table prefix, just change the wp_podsrel
to match whatever your table prefix is instead.
If you are using a multisite/network installation all extra sites/blogs also have an id prefix. Example:
1 |
PREFIX_BLOGID_podsrel |