Title: wp_categorymeta Table Doesn&#8217;t Exists
Last modified: July 18, 2017

---

# wp_categorymeta Table Doesn’t Exists

 *  [Ligo George](https://wordpress.org/support/users/lijoppans/)
 * (@lijoppans)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/wp_categorymeta-table-doesnt-exists/)
 * Hi,
    I am getting following errors. Seems like it is from W3TC. Kindly help me.
 * FastCGI sent in stderr: “PHP message: WordPress database error Table ‘wp_categorymeta’
   doesn’t exist for query SELECT category_id, meta_key, meta_value FROM wp_categorymeta
   WHERE category_id IN (250) ORDER BY meta_id ASC made by require(‘wp-blog-header.
   php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/porto/
   archive.php’), get_header, locate_template, load_template, require_once(‘/themes/
   porto-child/header.php’), get_template_part, locate_template, load_template, 
   require(‘/themes/porto/head.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action,
   WP_Hook->apply_filters, wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), 
   WP_Hook->do_action, WP_Hook->apply_filters, porto_scripts, porto_get_meta_value,
   get_metadata, update_meta_cache, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection_QueryCaching-
   >query, W3TC\_CallUnderlying->query, W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection-
   >query, W3TC\DbCache_Wpdb->default_query
 * PHP message: PHP Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result,
   boolean given in wp-db.php on line 3091” while reading response header from upstream,\

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Ben](https://wordpress.org/support/users/benbornschein/)
 * (@benbornschein)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/wp_categorymeta-table-doesnt-exists/#post-9328204)
 * Did you changed your WordPress configuration (changed the table prefix)?
    Do 
   you have phpMyAdmin access and can check if all WordPress tables are installed?
   You can also try to uninstall the plugin and install it again.
 *  Thread Starter [Ligo George](https://wordpress.org/support/users/lijoppans/)
 * (@lijoppans)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/wp_categorymeta-table-doesnt-exists/#post-9331321)
 * Hi,
    Sorry I don’t have phpmyadmin installed in my server. I tried uninstalling
   and reinstalling it, but the problem is still there… It seems like that table
   is not creating.
 *  Thread Starter [Ligo George](https://wordpress.org/support/users/lijoppans/)
 * (@lijoppans)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/wp_categorymeta-table-doesnt-exists/#post-9331489)
 * I verified it. I don’t have categorymeta table in my database.
 *  [Ben](https://wordpress.org/support/users/benbornschein/)
 * (@benbornschein)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/wp_categorymeta-table-doesnt-exists/#post-9332298)
 * Hmm I have checked my installation and a wp_categorymeta table is not a default
   table. Please disable every other plugin, purge the cache of W3 Total cache and
   try it again. It also looks like the error is caused by your theme. You can try
   to use another theme for testing. If the error is gone, it is your current theme.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘wp_categorymeta Table Doesn’t Exists’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [W3TC](https://wordpress.org/support/topic-tag/w3tc/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ben](https://wordpress.org/support/users/benbornschein/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/wp_categorymeta-table-doesnt-exists/#post-9332298)
 * Status: not resolved