elementor / elementor/wp2static

multisites - error 500 on generate static site

Open
#744 1 comment 0 reactions 0 assignees View on GitHub
bug
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:

![image](https://user-images.githubusercontent.com/410736/104599314-e485c100-5677-11eb-84f1-fa9b9efd5431.png)

but the php configuration is this:

![image](https://user-images.githubusercontent.com/410736/104599398-fcf5db80-5677-11eb-9fa1-573b896aa374.png)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.