Not a bug Error while sending emails - please help

Status
Not open for further replies.

ilyayuruts

New member
Affected version
2.0
Hello dear forum users!

Today I changed the domain on the forum, and noticed that we stopped sending letters of registration confirmation. When sending letters manually, this error pops up (in the spoiler):



Code:
InvalidArgumentException: DOMXPath::query(): Invalid expression in selector >> body << in /home/d/<snip>/<snip>/public_html/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 341
XF\Mail\Mail->send() in src/XF/Service/User/AbstractConfirmationService.php at line 85
XF\Service\User\AbstractConfirmationService->sendConfirmationEmail() in src/XF/Service/User/AbstractConfirmationService.php at line 63
XF\Service\User\AbstractConfirmationService->triggerConfirmation() in src/XF/ControllerPlugin/EmailConfirmation.php at line 43
XF\ControllerPlugin\EmailConfirmation->actionResend() in src/XF/Admin/Controller/User.php at line 590
XF\Admin\Controller\User->actionResendConfirmation() 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 admin.php at line 13

Please help in eliminating the error!
 
Last edited by a moderator:
We can only provide support to licensed customers.

Please ensure your forum username is added to your forum users page in the Customer area. After that, either post in the correct forum or submit a ticket.
 
Status
Not open for further replies.
Top Bottom