• Resolved yoancutillas

    (@yoancutillas)


    Hi, a PHP error occurs when email fails to send (for example in a local environment). This PHP error occurs only when your plugin is active. It doesn’t occur when your plugin is not active. WP 6.7.2, Check & Log Email 2.0.5.1, PHP 8.2.

    [05-Mar-2025 09:50:50 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "handle_failed_email" not found or invalid function name in wp-includes\class-wp-hook.php:324
    Stack trace:
    #0 wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #1 wp-includes\plugin.php(517): WP_Hook->do_action(Array)
    #2 wp-includes\pluggable.php(414): do_action('wp_mail_failed', Object(WP_Error))
    #3 wp-content\plugins\check-email\include\helper-function.php(109): wp_mail(Array, 'Check & Log Ema...', '', Array)
    #4 wp-includes\class-wp-hook.php(324): ck_mail_send_feedback('')
    #5 wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #6 wp-includes\plugin.php(517): WP_Hook->do_action(Array)
    #7 wp-admin\admin-ajax.php(192): do_action('wp_ajax_ck_mail...')
    #8 {main}
    thrown in wp-includes\class-wp-hook.php on line 324
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    Thank you for reaching out to us. We already have a ticket on our GitHub repository regarding this concern and it will be addressed in the upcoming update. We kindly request your patience in the meantime.

    Here is the ticket.

    Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    Hope you are doing well.

    We have released an update version 2.0.6 in which we have addressed this concern. Kindly update the plugin to the latest version, clear the cache, and give it a try.

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

The topic ‘PHP error when email fails to send’ is closed to new replies.