Title: Database error: table wp_wpmailsmtp_tasks_meta doesn&#8217;t exist
Last modified: April 20, 2021

---

# Database error: table wp_wpmailsmtp_tasks_meta doesn’t exist

 *  Resolved [godot9367](https://wordpress.org/support/users/godot9367/)
 * (@godot9367)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/database-error-table-wp_wpmailsmtp_tasks_meta-doesnt-exist/)
 * Hello,
    I’m running WP Mail SMTP Version 2.7.0 and I noticed this weird error
   after upgrading to WordPress 5.7.1 (though I don’t know if it’s related to it):
 * $ tail /var/log/nginx/error.log
    `2021/04/20 01:58:02 [error] 7658#7658: *224
   FastCGI sent in stderr: "PHP message: WordPress database error Table 'mydatabasename.
   wp_wpmailsmtp_tasks_meta' doesn't exist for query SHOW FULL COLUMNS FROM`wp_wpmailsmtp_tasks_meta`
   made by require_once('wp-admin/admin-header.php'), do_action('in_admin_header'),
   WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_render, do_action_ref_array('
   admin_bar_menu'), WP_Hook->do_action, WP_Hook->apply_filters, WPMailSMTP\Admin\
   AdminBarMenu->register, WPMailSMTP\Admin\AdminBarMenu->has_notifications, WPMailSMTP\
   Admin\Notifications->get_count, WPMailSMTP\Admin\Notifications->get, WPMailSMTP\
   Tasks\Task->register, WPMailSMTP\Tasks\Meta->add, WPMailSMTP\Tasks\Meta->add_to_db"
   while reading upstream, client: 127.0.0.1, server: my-host-name, request: "GET/
   wp-admin/upload.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.
   sock:", host: "my-host-name", referrer: "https://my-host-name/wp-admin/edit.php?
   post_type=page"`
 * Such error is triggered by the WordPress admin interface even though the admin
   activity is in no way related to WP Mail SMTP and it shows up every time a new
   WordPress admin page is visited (e.g. editing a new page, previewing it, opening
   the Media Library, etc.) but it stops occurring if WP Mail SMTP gets deactivated.
   
   Everything seems to work as expected and I wouldn’t have noticed this error if
   I didn’t need to check the Nginx error log. Nevertheless it’s a rather annoying
   issue. Could you please tell me why it happens and give me some advice to fix
   it?
 * Thank you in advance

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

 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/database-error-table-wp_wpmailsmtp_tasks_meta-doesnt-exist/#post-14350486)
 * Hi [@godot9367](https://wordpress.org/support/users/godot9367/),
 * The error indicates the missing database table. Can you please check your [site health](https://a.supportally.com/kUMxzj)
   and see if this table is created? Usually, this database error is logged only
   for the first time of plugin activation and it means that the database table 
   checks are being performed. The error should not affect any functionality of 
   the plugin.
 * Thanks!
 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [5 years ago](https://wordpress.org/support/topic/database-error-table-wp_wpmailsmtp_tasks_meta-doesnt-exist/#post-14456964)
 * Hi [@godot9367](https://wordpress.org/support/users/godot9367/) – We haven’t 
   heard from you in about a while, so I’m going to go ahead and mark this ticket
   resolved. If you still have questions, though, please feel welcome to continue
   the conversation.
 *  [leeml](https://wordpress.org/support/users/leeml/)
 * (@leeml)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/database-error-table-wp_wpmailsmtp_tasks_meta-doesnt-exist/#post-14808299)
 * Hi Sanjeev,
 * Have the same issue arising on single and multisite installations. locally with
   a WordPress container in Docker. Seems to have arisen as an issue over the last
   few weeks, prior to this WP Mail SMTP was installing with the WP CLI and via 
   the plugins page perfectly okay.
 * regards
 * Matt
 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/database-error-table-wp_wpmailsmtp_tasks_meta-doesnt-exist/#post-14818094)
 * Hi [@leeml](https://wordpress.org/support/users/leeml/),
 * Could you please let me know if you’re facing any issues or the errors are just
   logged? Those errors are logged when performing the database checks and are one-
   time only. So, the error should not be recurring or have any effect on the plugin’s
   functionality.
 * Thanks!

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

The topic ‘Database error: table wp_wpmailsmtp_tasks_meta doesn’t exist’ is closed
to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * 4 replies
 * 3 participants
 * Last reply from: [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/database-error-table-wp_wpmailsmtp_tasks_meta-doesnt-exist/#post-14818094)
 * Status: resolved