• Resolved jjrobinson

    (@jjrobinson)


    Since our website updated to WordPress version 6.5.3 we cannot send email that is in the queue. We get an error “There has been a critical error on this website.” I can send a test email from the configuration page. So I don’t think it is our email provider.

    AcyMailing version 9.6.0

    • This topic was modified 10 months, 1 week ago by jjrobinson.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support jeremyacy

    (@jeremyacy)

    Hello,

    Could you temporary activate the WordPress debug mode to get the “real” error message?

    You can edit the file wp-config.php and add this code:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );

    If a line already exists in the wp-config.php file to define “WP_DEBUG”, modify it instead and add the “WP_DEBUG_LOG” line after it.

    Once done it will create the file wp-content/debug.log and add any error message that occurs in it.

    Thread Starter jjrobinson

    (@jjrobinson)

    [24-May-2024 15:22:25 UTC] PHP Fatal error:? Uncaught Error: Call to private method Pelago\Emogrifier\HtmlProcessor\AbstractHtmlProcessor::getBodyElement() from scope AcyMailing\Helpers\AcyCssInliner in /**REMOVED for PRIVACY**/public_html/wp-content/plugins/acymailing/back/helpers/cssInliner.php:11
    
    Stack trace:
    
    #0 /**REMOVED for PRIVACY**/public_html/wp-content/plugins/acymailing/back/helpers/mailer.php(658): AcyMailing\Helpers\AcyCssInliner->renderBodyContent()
    
    #1 /**REMOVED for PRIVACY**/public_html/wp-content/plugins/acymailing/back/helpers/mailer.php(495): AcyMailing\Helpers\MailerHelper->prepareEmailContent(Object(stdClass), Array)
    
    #2 /**REMOVED for PRIVACY**/public_html/wp-content/plugins/acymailing/back/helpers/mailer.php(576): AcyMailing\Helpers\MailerHelper->loadUrlAndStyle('58')
    
    #3 /**REMOVED for PRIVACY**/public_html/wp-content/plugins/acymailing/back/helpers/mailer.php(748): AcyMailing\Helpers\MailerHelper->load('58', Object(stdClass))
    
    #4 /**REMOVED for PRIVACY**/public_html/wp-content/plugins/acymailing/back/helpers/queue.php(216): AcyMailing\Helpers\MailerHelper->sendOne('58', '116')
    
    #5 /**REMOVED for PRIVACY**/public_html/wp-content/plugins/acymailing/back/controllers/queue.php(69): AcyMailing\Helpers\QueueHelper->process()
    
    #6 /**REMOVED for PRIVACY**/public_html/wp-content/plugins/acymailing/back/libraries/controller.php(102): AcyMailing\Controllers\QueueController->continuesend()
    
    #7 /**REMOVED for PRIVACY**/public_html/wp-content/plugins/acymailing/wpinit/router.php(221): AcyMailing\Libraries\acymController->call('continuesend')
    
    #8 /**REMOVED for PRIVACY**/public_html/wp-includes/class-wp-hook.php(324): AcyMailing\Init\acyRouter->router('')
    
    #9 /**REMOVED for PRIVACY**/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    
    #10 /**REMOVED for PRIVACY**/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    #11 /**REMOVED for PRIVACY**/public_html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_acymail...')
    
    #12 {main}
    
    ? thrown in /**REMOVED for PRIVACY**/public_html/wp-content/plugins/acymailing/back/helpers/cssInliner.php on line 11

    I’ve removed our website directory information.

    Plugin Support jeremyacy

    (@jeremyacy)

    It seems that an other plugin uses the same library as we do for the preparation of emails, but we modified it on our side.

    The next version won’t have this issue anymore as we’ll use an unmodified version of this library.
    I however don’t have a solution in the meantime, other than temporary disabling either AcyMailing or the other plugin loading this library.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Email not sending with WordPress version 6.5.3’ is closed to new replies.