1

The newsletter remain in the "not sent" state. Cron Job is up and running and all mails work accordingly. newsletter subscribtion mails are sent as well.

magento/var/log/exception.log shows this obscure error:

main.CRITICAL: Error when running a cron job {"exception":"[object] (RuntimeException(code: 0): Error when running a cron job at /var/www/magento/vendor/magento/module-cron/Observer/ProcessCronQueueObserver.php:327, Error(code: 0): Call to a member function appendChild() on null at /var/www/magento/vendor/pelago/emogrifier/src/Emogrifier.php:1419)"} []

Any hints to solve the problem? thanks!

0

For the sake of completeness. The Problem occured due to some bad templating. Emogrifier could not create working html/css code. After clearing the queue at mysql-cli level with

DELETE FROM newsletter_queue WHERE queue_id = "{id}"

Mails are sent now..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.