• Resolved purityboy83

    (@purityboy83)


    Hi

    Wordpress 5.6.2 / PHP 8.0.2 / bbPress Notify (No-Spam) 2.15.2

    I don’t understand either.
    I used it very well until a few days ago.

    Mail is sent to some of the subscribed bulletin boards, but mail is not sent to some of the subscribed bulletins.
    A common problem is that even if a reply is written, no mail is sent.

    If you disable the “bbPress Notify (No-Spam)” plugin, bbpress default mail will be sent normally.

    My guess is that the “bbPress Notify (No-Spam)” plugin doesn’t hook

    We desperately need help to solve this problem.

    Thanks
    Best Regards,
    Hyunho

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter purityboy83

    (@purityboy83)

    When I changed the PHP version to 7.4 and tested it, the mail was received normally.

    It seems to be a problem with PHP 8.0.
    can you help me?

    Thanks

    Plugin Author useStrict

    (@usestrict)

    Hi @purityboy83,

    Can you check your host’s error logs for errors when using PHP8?

    Cheers,
    Vinny

    Thread Starter purityboy83

    (@purityboy83)

    Hi @usestrict

    This is the log of nginx and the content of the plugin that is different.

    2021/03/20 00:54:10 [error] 10655#10655: *15 FastCGI sent in stderr: “PHP message: PHP Warning: Attempt to read property “post_status”
    on null in /xxxxxxxxx/wp-content/plugins/bbp-style-pack/includes/functions.php on line 2537PHP message: PHP Warning:
    Undefined variable $locale in /xxxxxxx/wp-content/plugins/bp-better-messages/bp-better-messages.php on line 216PHP message: PHP Warning:
    Undefined array key “topic_tag_count” in /xxxxxxx/wp-content/plugins/bbpress/templates/default/bbpress/content-statistics.php on line 42″
    while reading response header from upstream, client: ip, server: fedoralinux.or.kr, request: “GET /forums/topic/24562 HTTP/2.0”, upstream:
    “fastcgi://PHP-FPM-URL:9000”, host: “mysiteurl”, referrer: “https://mysiteurl/forums/topic/24562”

    Plugin Author useStrict

    (@usestrict)

    None of those are mine. Can you try bbpnns after deactivating bbp-style-pack and bp-better-messages?

    If it still doesn’t run, then the issue is hidden deeper in the logs.

    Thread Starter purityboy83

    (@purityboy83)

    Hi
    @usestrict

    In order to disable the plug-in, a test was conducted on the test server.

    When I test it, an error occurs and I report it to you.

    [20-Mar-2021 13:02:27 UTC] PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /xxxxxxxx/wp-content/plugins/bbpress-notify-nospam/includes/controller/common_core.class.php:377
    Stack trace:
    #0 /xxxxxxxx/wp-content/plugins/bbpress-notify-nospam/includes/controller/common_core.class.php(1258): bbPress_Notify_noSpam_Controller_Common_Core->convert_images_and_links()
    #1 /xxxxxxxx/wp-content/plugins/bbpress-notify-nospam/includes/controller/common_core.class.php(1080): bbPress_Notify_noSpam_Controller_Common_Core->send_notification()
    #2 /xxxxxxxx/wp-includes/class-wp-hook.php(287): bbPress_Notify_noSpam_Controller_Common_Core->notify_new_reply()
    #3 /xxxxxxxx/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #4 /xxxxxxxx/wp-includes/plugin.php(551): WP_Hook->do_action()
    #5 /xxxxxxxx/wp-cron.php(138): do_action_ref_array()
    #6 {main}
      thrown in /xxxxxxxx/wp-content/plugins/bbpress-notify-nospam/includes/controller/common_core.class.php on line 377

    Thanks

    Plugin Author useStrict

    (@usestrict)

    Hi @purityboy83,

    DOMDocument is missing from your host’s PHP 8. Please contact them to install it as it is a basic module that no PHP should do without.

    Cheers,
    Vinny

    Thread Starter purityboy83

    (@purityboy83)

    Hi @usestrict

    After installing the package, I restarted fpm and the problem was solved.
    (yum install php80-php-xml)

    Thank you for your help

    Plugin Author useStrict

    (@usestrict)

    My pleasure. I’m glad you got it to work.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Email cannot be sent’ is closed to new replies.