• Resolved ikiterder

    (@ikiterder)


    Error. Never succeeds.

    [2024-03-22 06:26:32] Setting up
    [2024-03-22 06:26:37] Fetched 204 of 544 pages/files
    [2024-03-22 06:35:29] Error: (1) Uncaught TypeError: voku\helper\HtmlDomParser::loadHtml(): Argument #1 ($html) must be of type string, bool given, called in D:\xampp\htdocs\sample.com\wp-content\plugins\simply-static\vendor\voku\simple_html_dom\src\voku\helper\HtmlDomParser.php on line 228 and defined in D:\xampp\htdocs\sample.com\wp-content\plugins\simply-static\vendor\voku\simple_html_dom\src\voku\helper\HtmlDomParser.php:870
    Stack trace: 0 D:\xampp\htdocs\sample.com\wp-content\plugins\simply-static\vendor\voku\simple_html_dom\src\voku\helper\HtmlDomParser.php(228): voku\helper\HtmlDomParser->loadHtml(false, NULL) 1 D:\xampp\htdocs\sample.com\wp-content\plugins\simply-static\src\class-ss-url-extractor.php(342): voku\helper\HtmlDomParser::__callStatic(‘str_get_html’, Array) 2 D:\xampp\htdocs\sample.com\wp-content\plugins\simply-static\src\class-ss-url-extractor.php(182): Simply_Static\Url_Extractor->extract_and_replace_urls_in_html() 3 D:\xampp\htdocs\sample.com\wp-content\plugins\simply-static\src\tasks\class-ss-fetch-urls-task.php(140): Simply_Static\Url_Extractor->extract_and_update_urls() 4 D:\xampp\htdocs\sample.com\wp-content\plugins\simply-static\src\tasks\class-ss-fetch-urls-task.php(108): Simply_Static\Fetch_Urls_Task->handle_200_response(Object(Simply_Static\Page), true, true) 5 D:\xampp\htdocs\sample.com\wp-content\plugins\simply-static\src\class-ss-archive-creation-job.php(150): Simply_Static\Fetch_Urls_Task->perform() 6 D:\xampp\htdocs\sample.com\wp-content\plugins\simply-static\vendor\a5hleyrich\wp-background-processing\classes\wp-background-process.php(516): Simply_Static\Archive_Creation_Job->task(‘fetch_urls’) 7 D:\xampp\htdocs\sample.com\wp-content\plugins\simply-static\vendor\a5hleyrich\wp-background-processing\classes\wp-background-process.php(333): WP_Background_Process->handle() 8 D:\xampp\htdocs\sample.com\wp-includes\class-wp-hook.php(324): WP_Background_Process->maybe_handle(”) 9 D:\xampp\htdocs\sample.com\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 10 D:\xampp\htdocs\sample.com\wp-includes\plugin.php(517): WP_Hook->do_action(Array) 11 D:\xampp\htdocs\sample.com\wp-admin\admin-ajax.php(188): do_action(‘wp_ajax_wp_arch…’) 12 {main}

    thrown in D:\xampp\htdocs\sample.com\wp-content\plugins\simply-static\vendor\voku\simple_html_dom\src\voku\helper\HtmlDomParser.php on line 870


    My link structure: …name-123.html and AMP version …name-123.html/amp/

    Sorry for my English.

    • This topic was modified 8 months, 1 week ago by ikiterder.
Viewing 1 replies (of 1 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey @ikiterder,

    thanks for reaching out.

    Take a look at Simply Static -> Settings -> Diagnostics and make sure you fix all the errors there first before running another export.

    Also watch for the PHP version, we recommend at least PHP 8.

    The error means we weren’t able to extract HTML from the given page, which can have multiple reasons:

    • no SSL certificate
    • no domain attached to the project

    We also highly recommend not using XXAMP, but LocalWP instead so you don’t have spend hours bending it to your needs: https://simplystatic.com/docs/problems-with-local-development/

Viewing 1 replies (of 1 total)
  • The topic ‘Error’ is closed to new replies.