Open jhatmaker opened 3 years ago
Thanks for the detailed report!
I was not able to reproduce this issue exactly, but I did find a similar problem that may be related. Can you test with https://github.com/leonstafford/wp2static/commit/bbc8abba9103d097a62a6bbbd8d7a4229e788f4b and see if that changes anything for you?
I encountered this issue with v7.1.7, and I do not have RankMath plugin installed.
[06-Apr-2022 18:55:09 UTC] PHP Fatal error: Uncaught WP2StaticGuzzleHttp\Exception\ClientException: Client error: `GET http://site.local//wp-sitemap.xml` resulted in a `404 Not Found` response:
Option siteurl
does not have a trailing slash.
Plugin - Caused unhandled exception
Describe the bug On a fresh install of WP with WP2Static and RankMath (free) activated, (using the SiteMap options in RankMath), the Generate static site will fail (browser reports a 500 error) and the log file will report an unhandled ClientException.
To Reproduce Steps to reproduce the behavior:
Expected behavior WP2Static should not have an unhandled exception that causes the generate to fail.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Linux 0c15ac11f18a 5.10.25-linuxkit #1 SMP Tue Mar 23 09:27:39 UTC 2021 x86_64 GNU/Linux
Log files (please complete the following information):
Please ensure no sensitive information in your log files, then attach to your issue.
WP2Static Logs (found on WP dashboard > WP2Static > Logs)
Server logs (PHP and webserver error logs)