Not a bug Bug Emogrifier.php

Status
Not open for further replies.

SkSades

Member
Affected version
2.0.10
Hello can you help me ?
This is displayed for any action

Code:
InvalidArgumentException: DOMXPath::query(): Invalid expression in selector >> body << in /var/www/prisel.fr/forum/src/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 370 src/vendor/pelago/emogrifier/Classes/Emogrifier.php:1532

Code:
InvalidArgumentException: DOMXPath::query(): Invalid expression in selector >> body << in /var/www/prisel.fr/forum/src/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 370 in src/vendor/pelago/emogrifier/Classes/Emogrifier.php at line 1532
Pelago\Emogrifier->handleXpathError()
DOMXPath->query() in src/vendor/pelago/emogrifier/Classes/Emogrifier.php at line 370
Pelago\Emogrifier->process() in src/vendor/pelago/emogrifier/Classes/Emogrifier.php at line 289
Pelago\Emogrifier->emogrify() in src/XF/Mail/Styler.php at line 36
XF\Mail\Styler->styleHtml() in src/XF/Mail/Mailer.php at line 189
XF\Mail\Mailer->renderMailTemplate() in src/XF/Mail/Mail.php at line 277
XF\Mail\Mail->renderTemplate() in src/XF/Mail/Mail.php at line 327
XF\Mail\Mail->getSendableMessage() in src/XF/Mail/Mail.php at line 358
XF\Mail\Mail->queue() in src/XF/Notifier/Post/AbstractWatch.php at line 128
XF\Notifier\Post\AbstractWatch->sendEmail() in src/XF/Service/AbstractNotifier.php at line 92
XF\Service\AbstractNotifier->notifyType() in src/XF/Service/AbstractNotifier.php at line 44
XF\Service\AbstractNotifier->notify() in src/XF/Service/AbstractNotifier.php at line 56
XF\Service\AbstractNotifier->notifyAndEnqueue() in src/XF/Service/Thread/Replier.php at line 205
XF\Service\Thread\Replier->sendNotifications() in src/XF/Pub/Controller/Thread.php at line 309
XF\Pub\Controller\Thread->finalizeThreadReply() in src/XF/Pub/Controller/Thread.php at line 442
XF\Pub\Controller\Thread->actionAddReply() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
XF\App->run() in src/XF.php at line 329
XF::runApp() in index.php at line 13

Code:
#0 [internal function]: Pelago\Emogrifier->handleXpathError(2, 'DOMXPath::query...', '/var/www/prisel...', 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(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(XF\Entity\User))
#10 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(XF\Notifier\Post\ThreadWatch), Array, 1581248705.9745)
#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(XF\Service\Thread\Replier))
#15 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#16 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(XF\Pub\Controller\Thread), NULL)
#17 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#18 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#19 src/XF.php(329): XF\App->run()
#20 index.php(13): XF::runApp('XF\\Pub\\App')
#21 {main}
 
XF 2.0 is no longer supported and support can only be provided to licensed customers.

If you are licensed, you must first add your forum username to your Customer area account before posting in the correct forum.
 
Status
Not open for further replies.
Back
Top Bottom