elementor / elementor/wp2static

Conflict when site's host/domain is contained with the site's filepath?

Open
#728 2 comments 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

```
PHP Fatal error: Uncaught WP2StaticGuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: DOMAIN.athttp (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://DOMAIN.athttp/DOMAIN.at/wp-content/cache/autoptimize/css/autoptimize_0e4995f032f1833c086a87b10c3cee29.css in /home/cloudpanel/htdocs/DOMAIN.at/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/Handler/CurlFactory.php:210
Stack trace:
#0 /home/cloudpanel/htdocs/DOMAIN.at/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/Handler/CurlFactory.php(158): WP2StaticGuzzleHttp\Handler\CurlFactory::createRejection()
#1 /home/cloudpanel/htdocs/DOMAIN.at/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/Handler/CurlFactory.php(110): WP2StaticGuzzleHttp\Handler\CurlFactory::finishError()
#2 /home/cloudpanel/htdocs/DOMAIN.at/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/Handler/CurlHandler.php(47): WP2Static in /home/cloudpanel/htdocs/DOMAIN.at/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/Handler/CurlFactory.php on line 210
```
I can resolv the hostname without any issue...

Would love to get wp2static running, just for one time...

![image](https://user-images.githubusercontent.com/1122698/102024548-00552900-3d93-11eb-90a8-99e157105c7b.png)

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.