Uncaught Error: Class ‘DOMDocument’ not found
-
Hi,
I just installed SimplyStatic, checked out its Settings and see green OKs & checkmarks agains everything, however when I try to generate a site I get a screenful of red error message! ??
Debug log is copied below. Any help would be much appreciated.
Thanks,
Steve
[2021-11-18 14:33:44] [class-ss-plugin.php:260] Received request to start generating a static archive
[2021-11-18 14:33:46] [class-ss-archive-creation-job.php:61] Starting a job; no job is presently running
[2021-11-18 14:33:46] [class-ss-archive-creation-job.php:62] Here’s our task list: setup, fetch_urls, create_zip_archive, wrapup
[2021-11-18 14:33:46] [class-ss-archive-creation-job.php:76] Pushing first task to queue: setup
[2021-11-18 14:33:46] [class-ss-archive-creation-job.php:105] Current task: setup
[2021-11-18 14:33:46] [class-ss-archive-creation-job.php:121] Performing task: setup
[2021-11-18 14:33:46] [class-ss-task.php:44] Status message: [setup] Setting up
[2021-11-18 14:33:46] [class-ss-setup-task.php:32] Creating archive directory: /var/www/html/wp-content/plugins/simply-static/static-files/simply-static-1-1637246026/
[2021-11-18 14:33:46] [class-ss-setup-task.php:77] Adding origin URL to queue: https://www.klassapps.com/
[2021-11-18 14:33:46] [class-ss-archive-creation-job.php:140] We’ve found our next task: fetch_urls
[2021-11-18 14:33:46] [class-ss-archive-creation-job.php:105] Current task: fetch_urls
[2021-11-18 14:33:46] [class-ss-archive-creation-job.php:121] Performing task: fetch_urls
[2021-11-18 14:33:46] [class-ss-fetch-urls-task.php:54] Total pages: 1; Pages remaining: 1
[2021-11-18 14:33:46] [class-ss-fetch-urls-task.php:57] URL: https://[our_domain_name]
[2021-11-18 14:33:46] [class-ss-fetch-urls-task.php:67] URL is not being excluded
[2021-11-18 14:33:46] [class-ss-url-fetcher.php:85] Fetching URL and saving it to: /tmp/6196644adc913-lDjKlA.tmp
[2021-11-18 14:33:47] [class-ss-url-fetcher.php:89] Filesize: 72025 bytes
[2021-11-18 14:33:47] [class-ss-url-fetcher.php:104] http_status_code: 200 | content_type: text/html; charset=UTF-8
[2021-11-18 14:33:47] [class-ss-url-fetcher.php:187] New filename for static page: index.html
[2021-11-18 14:33:47] [class-ss-url-fetcher.php:127] Renaming temp file from /tmp/6196644adc913-lDjKlA.tmp to /var/www/html/wp-content/plugins/simply-static/static-files/simply-static-1-1637246026/index.html
[2021-11-18 14:33:47] [class-ss-fetch-urls-task.php:122] Extracting URLs and replacing URLs in the static file
[2021-11-18 14:33:47] [class-ss-archive-creation-job.php:327] Error: (1) Uncaught Error: Class ‘DOMDocument’ not found in /var/www/html/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php:163Stack trace:#0 /var/www/html/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php(223): voku\helper\HtmlDomParser->__construct()#1 /var/www/html/wp-content/plugins/simply-static/src/class-ss-url-extractor.php(268): voku\helper\HtmlDomParser::__callStatic()#2 /var/www/html/wp-content/plugins/simply-static/src/class-ss-url-extractor.php(158): Simply_Static\Url_Extractor->extract_and_replace_urls_in_html()#3 /var/www/html/wp-content/plugins/simply-static/src/tasks/class-ss-fetch-urls-task.php(125): Simply_Static\Url_Extractor->extract_and_update_urls()#4 /var/www/html/wp-content/plugins/simply-static/src/tasks/class-ss-fetch-urls-task.php(97): Simply_Static\Fetch_Urls_Task->handle_200_response()#5 /var/www/html/wp-content/plugins/simply-static/src/class-ss-archive-creation-job.php(122): Simply_Static\Fetch in <b>/var/www/html/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php</b> on line <b>163</b>
[2021-11-18 14:33:47] [class-ss-archive-creation-job.php:269] Status message: [error] Error: (1) Uncaught Error: Class ‘DOMDocument’ not found in /var/www/html/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php:163Stack trace:#0 /var/www/html/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php(223): voku\helper\HtmlDomParser->__construct()#1 /var/www/html/wp-content/plugins/simply-static/src/class-ss-url-extractor.php(268): voku\helper\HtmlDomParser::__callStatic()#2 /var/www/html/wp-content/plugins/simply-static/src/class-ss-url-extractor.php(158): Simply_Static\Url_Extractor->extract_and_replace_urls_in_html()#3 /var/www/html/wp-content/plugins/simply-static/src/tasks/class-ss-fetch-urls-task.php(125): Simply_Static\Url_Extractor->extract_and_update_urls()#4 /var/www/html/wp-content/plugins/simply-static/src/tasks/class-ss-fetch-urls-task.php(97): Simply_Static\Fetch_Urls_Task->handle_200_response()#5 /var/www/html/wp-content/plugins/simply-static/src/class-ss-archive-creation-job.php(122): Simply_Static\Fetch in <b>/var/www/html/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php</b> on line <b>163</b>
- The topic ‘Uncaught Error: Class ‘DOMDocument’ not found’ is closed to new replies.