[horde] Horde 6 - Inline HTML error

Nels Lindquist nlindq at maei.ca
Mon Apr 6 19:13:25 UTC 2026


PHP 8.5 FPM.
Latest H6 updated this morning.

I enabled inline HTML in IMP, by setting:

 > $mime_drivers['html']['inline'] = true;

in var/config/imp/mime_drivers.local.php.

After doing so, I'm now receiving an error when attempting to view mail 
messages with HTML:

[imp] Error: Call to undefined method 
Horde\Css\Parser\Parser::keepOnlyDangerousCss() in 
/var/www/html/horde6/vendor/horde/imp/lib/Mime/Viewer/Html.php:617

Stack trace:
#0 /var/www/html/horde6/vendor/horde/imp/lib/Mime/Viewer/Html.php(558): 
IMP_Mime_Viewer_Html->_parseCss()
#1 /var/www/html/horde6/vendor/horde/imp/lib/Mime/Viewer/Html.php(166): 
IMP_Mime_Viewer_Html->_processDomDocument()
#2 /var/www/html/horde6/vendor/horde/imp/lib/Mime/Viewer/Html.php(76): 
IMP_Mime_Viewer_Html->_IMPrender()
#3 
/var/www/html/horde6/vendor/horde/mime_viewer/lib/Horde/Mime/Viewer/Base.php(157): 
IMP_Mime_Viewer_Html->_renderInline()
#4 /var/www/html/horde6/vendor/horde/imp/lib/Contents.php(665): 
Horde_Mime_Viewer_Base->render()
#5 
/var/www/html/horde6/vendor/horde/imp/lib/Mime/Viewer/Alternative.php(137): 
IMP_Contents->renderMIMEPart()
#6 
/var/www/html/horde6/vendor/horde/imp/lib/Mime/Viewer/Alternative.php(55): 
IMP_Mime_Viewer_Alternative->_IMPrender()
#7 
/var/www/html/horde6/vendor/horde/mime_viewer/lib/Horde/Mime/Viewer/Base.php(157): 
IMP_Mime_Viewer_Alternative->_renderInline()
#8 /var/www/html/horde6/vendor/horde/imp/lib/Contents.php(665): 
Horde_Mime_Viewer_Base->render()
#9 /var/www/html/horde6/vendor/horde/imp/lib/Contents/Message.php(594): 
IMP_Contents->renderMIMEPart()
#10 /var/www/html/horde6/vendor/horde/imp/lib/Contents/Message.php(336): 
IMP_Contents_Message->_getInlineOutput()
#11 /var/www/html/horde6/vendor/horde/imp/lib/Contents/Message.php(176): 
IMP_Contents_Message->getInlineOutput()
#12 /var/www/html/horde6/vendor/horde/imp/lib/Ajax/Queue.php(462): 
IMP_Contents_Message->showMessage()
#13 
/var/www/html/horde6/vendor/horde/imp/lib/Ajax/Application/Handler/Common.php(702): 
IMP_Ajax_Queue->message()
#14 
/var/www/html/horde6/vendor/horde/core/lib/Horde/Core/Ajax/Application.php(179): 
IMP_Ajax_Application_Handler_Common->showMessage()
#15 /var/www/html/horde6/vendor/horde/horde/services/ajax.php(64): 
Horde_Core_Ajax_Application->doAction()
#16 /var/www/html/horde6/web/horde/services/ajax.php(3): require_once('...')
#17 {main} [pid 536324 on line 76 of 
"/var/www/html/horde6/vendor/horde/core/lib/Horde/ErrorHandler.php"]

-- 
Nels Lindquist
nlindq at maei.ca


More information about the horde mailing list