Yodrak
in memoriam 1976 - 2020
- Affected version
- XF2.0.11
Yesterday we made the switch from XF1 to XF2.
We got now a problem with email notifications.
This is what the error log shows:
Can anybody help me?
We got now a problem with email notifications.
This is what the error log shows:
Code:
InvalidArgumentException: DOMXPath::query(): Invalid expression in selector >> body << in /var/www/html/src/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 370 src/vendor/pelago/emogrifier/Classes/Emogrifier.php:1532
Generiert von: Cocorange 09.12.2018 um 15:24
Stack-Trace
#0 [internal function]: Pelago\Emogrifier->handleXpathError(2, 'DOMXPath::query...', 's...', 370, Array)
#1 src/vendor/pelago/emogrifier/Classes/Emogrifier.php(370): DOMXPath->query('//')
#2 src/vendor/pelago/emogrifier/Classes/Emogrifier.php(289): Pelago\Emogrifier->process(Object(DOMDocument))
#3 src/XF/Mail/Styler.php(36): Pelago\Emogrifier->emogrify()
#4 src/XF/Mail/Mailer.php(189): XF\Mail\Styler->styleHtml('<!DOCTYPE html>...', true, Object(XF\Language))
#5 src/XF/Mail/Mail.php(277): XF\Mail\Mailer->renderMailTemplate('watched_thread_...', Array, Object(XF\Language), Object(Yugensoft\StripeFull\XF\Entity\User))
#6 src/XF/Mail/Mail.php(327): XF\Mail\Mail->renderTemplate()
#7 src/XF/Mail/Mail.php(358): XF\Mail\Mail->getSendableMessage()
#8 src/XF/Notifier/Post/AbstractWatch.php(128): XF\Mail\Mail->queue()
#9 src/XF/Service/AbstractNotifier.php(92): XF\Notifier\Post\AbstractWatch->sendEmail(Object(Yugensoft\StripeFull\XF\Entity\User))
#10 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(XF\Notifier\Post\ThreadWatch), Array, 1544369077.951)
#11 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(3)
#12 src/XF/Service/Thread/Replier.php(205): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#13 src/XF/Pub/Controller/Thread.php(309): XF\Service\Thread\Replier->sendNotifications()
#14 src/XF/Pub/Controller/Thread.php(442): XF\Pub\Controller\Thread->finalizeThreadReply(Object(XFA\Core\XF\Service\Thread\Replier))
#15 src/addons/KL/EditorManager/XF/Pub/Controller/Thread.php(17): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#16 src/XF/Mvc/Dispatcher.php(249): KL\EditorManager\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#17 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(XenConcept\RestrictGuestViews\XF\Pub\Controller\Thread), NULL)
#18 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#19 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#20 src/XF.php(329): XF\App->run()
#21 index.php(13): XF::runApp('XF\\Pub\\App')
#22 {main}
Can anybody help me?