Replies: 0
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_metamade 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