elementor / elementor/wp2static
multisites - error 500 on generate static site
- Dominant language
- PHP
- Stars
- 1.5k
- Forks
- 294
- PR merge metrics
- No merged PRs in 30d
Description
hi all,
in multisites setup i receive this error:

but the php configuration is this:

on log file:
```
2021/01/14 13:52:17 [error] 218#218: *1730 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught WP2Static\WP2StaticException: Invalid URL in /var/www/antwal.local/public_html/wp-content/plugins/wp2static/src/SitemapParser.php:179
Stack trace:
#0 /var/www/antwal.local/public_html/wp-content/plugins/wp2static/src/DetectSitemapsURLs.php(104): WP2Static\SitemapParser->parse('/sitemap.xml')
#1 /var/www/antwal.local/public_html/wp-content/plugins/wp2static/src/URLDetector.php(71): WP2Static\DetectSitemapsURLs::detect('http://antwal.l…’)
#2 /var/www/antwal.local/public_html/wp-content/plugins/wp2static/src/Controller.php(633): WP2Static\URLDetector::detectURLs()
#3 /var/www/antwal.local/public_html/wp-content/plugins/wp2static/src/Controller.php(743): WP2Static\Controller::wp2staticHeadless()
#4 /var/www/antwal.local/public_html/wp-includes/class-wp-hook.php(285): WP2Static\Controller::wp2staticRun()
#5 /var/www/antwal.local/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#6 /var/www/antwal.local/public_html/wp-includes/plugin in /var/www/antwal.local/public_html/wp-content/plugins/wp2static/src/DetectSitemapsURLs.php on line 125" while reading response header from upstream, client: 172.16.88.32, server: antwal.local, request: "POST /antwal/wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "antwal.local", referrer: "http://antwal.local/antwal/wp-admin/admin.php?page=wp2static"
```
looking through the various issues this error should have been corrected
Contributor guide
Assessment
This issue has not been assessed yet.