• Resolved erikdemarco

    (@erikdemarco)


    I got this when installing:

    [php7:notice] [pid 1227] [client 32.79.136.222:47418] Database error WordPress Table 'xxxxxxcom.wp_wpmailsmtp_tasks_meta' doesn't exist for query SHOW FULL COLUMNS FROMwp_wpmailsmtp_tasks_meta` called via require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WPMailSMTP\\Core->get_tasks, WPMailSMTP\\Tasks\\Tasks->init, WPMailSMTP\\Tasks\\Reports\\SummaryEmailTask->init, WPMailSMTP\\Tasks\\Task->register, WPMailSMTP\\Tasks\\Meta->add, WPMailSMTP\\Tasks\\Meta->add_to_db, referer: https://xxxxxx.com/wp-admin/plugin-install.php?s=smtp&tab=search&type=term

    [php7:notice] [pid 5892] [client 32.79.136.222:47422] Database error WordPress Table ‘xxxxxxcom.wp_wpmailsmtp_tasks_meta’ doesn’t exist for query SHOW FULL COLUMNS FROM wp_wpmailsmtp_tasks_meta called via require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WPMailSMTP\\Core->get_tasks, WPMailSMTP\\Tasks\\Tasks->init, WPMailSMTP\\Tasks\\Reports\\SummaryEmailTask->init, WPMailSMTP\\Tasks\\Task->register, WPMailSMTP\\Tasks\\Meta->add, WPMailSMTP\\Tasks\\Meta->add_to_db, referer: https://xxxxxx.com/wp-cron.php?doing_wp_cron=1543535343.4363456456457567575876`

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi @erikdemarco,

    did these two DB errors occur just this one time when installing the plugin? If so and they are not logging constantly, it’s OK. This means the wp_wpmailsmtp_tasks_meta DB table was created and the plugin should work just OK.

    If these DB errors are still logging, it means that your WP site was not able to create this DB table for some reason. Let me know if this is the case and we’ll guide you to try and recreate this DB table.

    Take care!

    Thread Starter erikdemarco

    (@erikdemarco)

    Yes, this is just one time. But please remove the error. with error control operator in php. So user will not confuse. Thanks

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @erikdemarco,

    using the error control operator is a bad programming practice because you are just hiding the error. It’s always better to display/log errors so that we are aware of them.

    What about the WP sites that failed to create the DB table and show this error multiple times. If we would hide/suppress this error log, they would not know that something is wrong with their WP site.

    Thank you for letting us know that this error log happened just once for you. You can now just ignore this error log since it won’t happen again.

    Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when installing…’ is closed to new replies.