Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal Error results in zero emails sent #801

Open
TonyScialdone opened this issue May 22, 2024 · 1 comment
Open

PHP Fatal Error results in zero emails sent #801

TonyScialdone opened this issue May 22, 2024 · 1 comment

Comments

@TonyScialdone
Copy link

  1. Leaving a comment works... but after the comment is stored, a fatal error occurs.
  2. Replying to a comment works... but after, a fatal error occurs.
  3. No emails have been sent by STCR in 30 days. I use AWS SES for SMTP, and they say things are fine on their end.
  4. I use Easy WP SMTP for the connection, and they say things are fine on their end, that the error is in STCR.

Not sure how to troubleshoot. Thanks for your help!
Here's an example of the fatal error:

[22-May-2024 02:48:57 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "my_phpmailer_example" not found or invalid function name in /home/godwords/public_html/wp-includes/class-wp-hook.php:324
Stack trace:
#0 /home/godwords/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#1 /home/godwords/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#2 /home/godwords/public_html/wp-includes/pluggable.php(540): do_action_ref_array('phpmailer_init', Array)
#3 /home/godwords/public_html/wp-content/plugins/subscribe-to-comments-reloaded/utils/stcr_utils.php(520): wp_mail(Array, 'There is a new ...', '<ti...', Array)
#4 /home/godwords/public_html/wp-content/plugins/subscribe-to-comments-reloaded/wp_subscribe_reloaded.php(1530): stcr\stcr_utils->send_email(Array)
#5 /home/godwords/public_html/wp-content/plugins/subscribe-to-comments-reloaded/wp_subscribe_reloaded.php(510): stcr\wp_subscribe_reloaded->notify_user('7987', 'elton@eltoncrow...', 46675)
#6 /home/godwords/public_html/wp-includes/class-wp-hook.php(326): stcr\wp_subscribe_reloaded->new_comment_posted(46675, 1)
#7 /home/godwords/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#8 /home/godwords/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /home/godwords/public_html/wp-includes/comment.php(2320): do_action('comment_post', 46675, 1, Array)
#10 /home/godwords/public_html/wp-includes/comment.php(3671): wp_new_comment(Array, true)
#11 /home/godwords/public_html/wp-comments-post.php(25): wp_handle_comment_submission(Array)
#12 {main}
thrown in /home/godwords/public_html/wp-includes/class-wp-hook.php on line 324
[22-May-2024 07:53:50 UTC] PHP Warning: Attempt to read property "post_type" on null in /home/godwords/public_html/wp-includes/link-template.php on line 4155
[22-May-2024 07:53:50 UTC] PHP Warning: Attempt to read property "post_type" on null in /home/godwords/public_html/wp-includes/link-template.php on line 4157
[22-May-2024 12:59:34 UTC] PHP Warning: Attempt to read property "post_type" on null in /home/godwords/public_html/wp-includes/link-template.php on line 4155
[22-May-2024 12:59:34 UTC] PHP Warning: Attempt to read property "post_type" on null in /home/godwords/public_html/wp-includes/link-template.php on line 4157

@TonyScialdone
Copy link
Author

Anybody home?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant