Support » Plugin: Email Log » to_email cannot be null error in logs

  • Resolved Ashish

    (@ashishpatel1992)


    I am getting following error on my error logs

    Erreur de la base de données WordPress Column ‘to_email’ cannot be null pour la requête INSERT INTOwe_email_log(attachments,to_email,subject,headers,sent_date,message) VALUES (‘true’, NULL, ‘[My Site] Your job ads are about to expire: Test Job ‘, ‘From: My Site <noreply@mysite.com>’, ‘2018-10-22 00:35:02’, ‘Hi ,<br/>\n <br/>\n Your job ads are about to expire: Test Job .<br/>\n The expiry date is 3 days.<br/>\n Job title: Test Job<br/>\n View Job<br/>\n You can manage jobs in Manage Jobs.\n <br/><br/>\n Best regards,<br/>\n Test Site’) faite par do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, noo_check_before_job_expired, noo_email_forewarning_expired, noo_mail, wp_mail, apply_filters(‘wp_mail’), WP_Hook->apply_filters, EmailLog\Core\EmailLogger->log_email, EmailLog\Core\DB\TableManager->insert_log

    • This topic was modified 5 years, 5 months ago by Ashish.
    • This topic was modified 5 years, 5 months ago by Ashish.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sudar Muthu

    (@sudar)

    Hello @ashishpatel1992

    Does the emails that are generated in your website have empty to field?

    Thread Starter Ashish

    (@ashishpatel1992)

    Hey Sudar,
    Thanks. Yes Emails to field was with null value. I think I should report this to theme author.
    My weak observation 😐

    • This reply was modified 5 years, 5 months ago by Ashish.
    Plugin Author Sudar Muthu

    (@sudar)

    Hello @ashishpatel1992

    We have added a compatibility layer in our plugin to prevent fatal errors in scenarios where the To field is empty.

    Please update to the latest version, try it out and let us know if you are still facing this issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘to_email cannot be null error in logs’ is closed to new replies.