Title: Static Export Crash
Last modified: July 14, 2023

---

# Static Export Crash

 *  Resolved [tanmoys](https://wordpress.org/support/users/tanmoys/)
 * (@tanmoys)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/static-export-crash/)
 * We recently upgrades our WP Simply Static plugin to 2.3.2. 
   The export operation
   seems to be crashing/exception with the following trace. Is this a known issue?
   WP Version 6.0.3PHP Version: 8.1Base OS: **Ubuntu 20.04**
 * 2023-07-14 14:44:06] Setting up
 * [2023-07-14 14:47:03] Fetched 29050 of 29235 pages/files
 * [2023-07-14 15:06:19] Error: (1) Uncaught TypeError: voku\helper\HtmlDomParser::
   loadHtml(): Argument #1 ($html) must be of type string, bool given, called in/
   var/www/html/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/
   voku/helper/HtmlDomParser.php on line 228 and defined in /var/www/html/wp-content/
   plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.
   php:870 Stack trace: #0 /var/www/html/wp-content/plugins/simply-static/vendor/
   voku/simple_html_dom/src/voku/helper/HtmlDomParser.php(228): voku\helper\HtmlDomParser-
   >loadHtml() #1 /var/www/html/wp-content/plugins/simply-static/src/class-ss-url-
   extractor.php(337): voku\helper\HtmlDomParser::__callStatic() #2 /var/www/html/
   wp-content/plugins/simply-static/src/class-ss-url-extractor.php(179): 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(140): 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(108): Simply_Static\Fetch_Urls_Task-
   >handle_200_response() #5 /var/www/html/wp-content/plugins/simply-static/src/
   class-ss-archive-creation-job.php(142): Simply_Static\Fetch_Urls_Task->perform()#
   6 /var/www/html/wp-content/plugins/simply-static/vendor/a5hleyrich/wp-background-
   processing/classes/wp-background-process.php(514): Simply_Static\Archive_Creation_Job-
   >task() #7 /var/www/html/wp-content/plugins/simply-static/vendor/a5hleyrich/wp-
   background-processing/classes/wp-background-process.php(335): WP_Background_Process-
   >handle() #8 /var/www/html/wp-includes/class-wp-hook.php(307): WP_Background_Process-
   >maybe_handle() #9 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook-
   >apply_filters() #10 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action()#
   11 /var/www/html/wp-admin/admin-ajax.php(202): do_action() #12 {main} thrown 
   in **/var/www/html/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/
   src/voku/helper/HtmlDomParser.php** on line **870**
    -  This topic was modified 2 years, 11 months ago by [tanmoys](https://wordpress.org/support/users/tanmoys/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [patrickposner](https://wordpress.org/support/users/patrickposner/)
 * (@patrickposner)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/static-export-crash/#post-16904059)
 * Hey [@tanmoys](https://wordpress.org/support/users/tanmoys/),
 * thanks for reaching out!
 * That isn’t a general issue in Simply Static but rather a compatibility problem
   with another plugin.
 * Take a look at the debug.log from WordPress – there should be some error listed
   that has caused this.
 * We throw the exception you mentioned if the crawler finds invalid markup that
   can’t be parsed (some invalid HTML).
 * Also worth taking a look at the debug log of Simply Static and checking the last
   page that was crawled before the error occurred – this way, you know exactly 
   which page has caused the issue, and you can check which specific plugins are
   being used on that page.
 * Let me know what you’ve found out!
 * Cheers,
 * Patrick

Viewing 1 replies (of 1 total)

The topic ‘Static Export Crash’ is closed to new replies.

 * ![](https://ps.w.org/simply-static/assets/icon-256x256.png?rev=2443263)
 * [Simply Static - The Static Site Generator](https://wordpress.org/plugins/simply-static/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simply-static/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simply-static/)
 * [Active Topics](https://wordpress.org/support/plugin/simply-static/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simply-static/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simply-static/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [patrickposner](https://wordpress.org/support/users/patrickposner/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/static-export-crash/#post-16904059)
 * Status: resolved