After initial 404 errors, I’ve been trying to run wp2static but end up in a "500 error code returned from server.
*Please check your server's error logs or try increasing your max_execution_time limit in PHP if this consistently fails after the same duration.*"
I tried increasing limits for memory and timeout but still got the same error - Max time is now 600 seconds.
I then moved by site to a different hosting provider, even though still on CPanel
I then uploaded the “wp2staticfixmultisitemap” version mentionned in another thread by someone also facing a 500 error, but no luck, still that 500 error.
The error log showed that error which does not seem to be the fatal one ?
[26-Feb-2021 09:57:01 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/wp-content/plugins/wp-seopress/inc/functions/sitemap/template-xml-sitemaps-single-term.php on line 70
The site indeed has had a sitemap from the start - generated by the WordPress plugin SEOPress at /sitemaps.xml, specifying this because it seems sites lacking one faced issues.
On my server however I see 2 folders “wp2static-crawled-site” and “wp2static-processed-site” containing files, which I am comparing to what should apparently be generated.
NB: Also realised the last line from the logs is
“2021-02-28 22:21:25: 404 for URL /wp-content/plugins/wp-seopress-pro/inc/functions/google-analytics/style/ruleset.xml” FWIW.
I’ll continue testing and hope I can help solve the problem for others too.