• Resolved godot9367

    (@godot9367)


    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 FROMwp_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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @godot9367,

    The error indicates the missing database table. Can you please check your site health 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!

    Hi @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.

    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

    Hi @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.