Skip to content

Error: Class "DOMDocument" not found #559

Description

@HMJR

After updates to:
Release 2026-07-14b "Mort" and sprintdoc dw

PHP 8.2.31 litespeed
Linux 4.18.0-553.141.2.lve.el8.x86_64

PDF
Error: Class "DOMDocument" not found
An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the dw2pdf plugin.
More info has been written to the DokuWiki error log.

Error log:

2026-08-18 12:06:55
Error: Class "DOMDocument" not found
/home/fp/domains/name/public_html/nl/lib/plugins/dw2pdf/src/Writer.php(172)
#0 /home/fp/domains/name/public_html/nl/lib/plugins/dw2pdf/src/Writer.php(145): dokuwiki\plugin\dw2pdf\src\Writer->fixInternalLinks()
#1 /home/fp/domains/name/public_html/nl/lib/plugins/dw2pdf/src/PdfExportService.php(180): dokuwiki\plugin\dw2pdf\src\Writer->renderWikiPage()
#2 /home/fp/domains/name/public_html/nl/lib/plugins/dw2pdf/src/PdfExportService.php(116): dokuwiki\plugin\dw2pdf\src\PdfExportService->renderDocument()
#3 /home/fp/domains/name/public_html/nl/lib/plugins/dw2pdf/src/PdfExportService.php(59): dokuwiki\plugin\dw2pdf\src\PdfExportService->buildDocument()
#4 /home/fp/domains/name/public_html/nl/lib/plugins/dw2pdf/action.php(74): dokuwiki\plugin\dw2pdf\src\PdfExportService->getPdf()
#5 /home/fp/domains/name/public_html/nl/inc/Extension/EventHandler.php(80): action_plugin_dw2pdf->convert()
#6 /home/fp/domains/name/public_html/nl/inc/Extension/Event.php(75): dokuwiki\Extension\EventHandler->process_event()
#7 /home/fp/domains/name/public_html/nl/inc/ActionRouter.php(85): dokuwiki\Extension\Event->advise_before()
#8 /home/fp/domains/name/public_html/nl/inc/ActionRouter.php(51): dokuwiki\ActionRouter->setupAction()
#9 /home/fp/domains/name/public_html/nl/inc/ActionRouter.php(64): dokuwiki\ActionRouter->__construct()
#10 /home/fp/domains/name/public_html/nl/inc/actions.php(19): dokuwiki\ActionRouter::getInstance()
#11 /home/fp/domains/name/public_html/nl/doku.php(131): act_dispatch()
#12 {main}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions