Hey @tejashapani-1,
that happens if Simply Static finds invalid HTML that the crawler can’t parse.
That usually happens with other plugins (look for things with a shortcode/block in particular).
The traditional debugging would work fine here to isolate the problem:
- Deactivate all plugins and run an export
- Step by step re-activate the plugins to figure out which one causes the problem
- Find an alternative for that particular plugin
Cheers,
Patrick
Hi Patrick,
I have disabled all the plugins and also set the theme to Twenty Twenty-Four
Then i tried to generate static html, but still getting same error
[2023-11-10 01:02:29] Setting up
[2023-11-10 01:02:29] Fetched 71 of 98 pages/files
[2023-11-10 01:02:32] Error: (1) Uncaught TypeError: Argument 1 passed to voku\helper\HtmlDomParser::loadHtml() must be of the type string, bool given, called in /chroot/home/mysite/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php on line 228 and defined in /chroot/home/mysite/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php:870 Stack trace: #0 /chroot/home/mysite/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php(228): voku\helper\HtmlDomParser->loadHtml() #1 /chroot/home/mysite/wp-content/plugins/simply-static/src/class-ss-url-extractor.php(337): voku\helper\HtmlDomParser::__callStatic() #2 /chroot/home/mysite/wp-content/plugins/simply-static/src/class-ss-url-extractor.php(179): Simply_Static\Url_Extractor->extract_and_replace_urls_in in /chroot/home/mysite/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php on line 870