New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin fails to execute #841
Comments
Hey @john-shaffer ! thank you, that fix allowed the plugin to run a bit longer :) And apache error logs show: I see that URLs somehow are messed up |
Hey @john-shaffer ! Here're the diagnostics page screenshots: |
On a fresh VPS I imported a wordpress website, purchased and installed the plugin.
When I try to run it, the UI says
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.
and the logs on the server show this:
[Tue Nov 30 18:09:20.531046 2021] [php:error] [pid 6785] [client 172.225.105.5:21023] PHP Fatal error: Uncaught
WP2StaticGuzzleHttp\\Exception\\TooManyRedirectsException: Will not follow more than 1 redirects in /var/www/html/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/RedirectMiddleware.php:147\nStack trace:\n#0 /var/www/html/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/RedirectMiddleware.php(88): WP2StaticGuzzleHttp\\RedirectMiddleware->guardMax()\n#1 /var/www/html/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/RedirectMiddleware.php(73): WP2StaticGuzzleHttp\\RedirectMiddleware->checkRedirect()\n#2 /var/www/html/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticpromises/src/FulfilledPromise.php(41): WP2StaticGuzzleHttp\\RedirectMiddleware->WP2StaticGuzzleHttp\\{closure}()\n#3 /var/www/html/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticpromises/src/TaskQueue.php(48): WP2StaticGuzzleHttp\\Promise\\FulfilledPromise::WP2StaticGuzzleHttp\\Promise\\{closure}()\n#4 /var/www/html/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticpromises/src/Promise.php(248): WP2StaticGuzzleHttp\\Promise\\TaskQueue->run()\n#5 /var/www/html/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticpromises/src/Promise.php(224): WP2StaticGuzzleHttp\\Promise\\Promise->invokeWaitFn()\n#6 /var/www/html/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticpromises/src/Promise.php(62): WP2StaticGuzzleHttp\\Promise\\Promise->waitIfPending()\n#7 /var/www/html/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/Client.php(123): WP2StaticGuzzleHttp\\Promise\\Promise->wait()\n#8 /var/www/html/wp-content/plugins/wp2static/src/Crawler.php(222): WP2StaticGuzzleHttp\\Client->send()\n#9 /var/www/html/wp-content/plugins/wp2static/src/Crawler.php(110): WP2Static\\Crawler->crawlURL()\n#10 /var/www/html/wp-content/plugins/wp2static/src/Crawler.php(71): WP2Static\\Crawler->crawlSite()\n#11 /var/www/html/wp-includes/class-wp-hook.php(303): WP2Static\\Crawler::wp2staticCrawl()\n#12 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()\n#13 /var/www/html/wp-includes/plugin.php(470): WP_Hook->do_action()\n#14 /var/www/html/wp-content/plugins/wp2static/src/Controller.php(755): do_action()\n#15 /var/www/html/wp-content/plugins/wp2static/src/Controller.php(636): WP2Static\\Controller::wp2staticCrawl()\n#16 /var/www/html/wp-content/plugins/wp2static/src/Controller.php(745): WP2Static\\Controller::wp2staticHeadless()\n#17 /var/www/html/wp-includes/class-wp-hook.php(301): WP2Static\\Controller::wp2staticRun()\n#18 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()\n#19 /var/www/html/wp-includes/plugin.php(470): WP_Hook->do_action()\n#20 /var/www/html/wp-admin/admin-ajax.php(187): do_action()\n#21 {main}\n thrown in /var/www/html/wp-content/plugins/wp2static/vendor/leonstafford/wp2staticguzzle/src/RedirectMiddleware.php on line 147, referer: http://161.35.216.81/wp-admin/admin.php?page=wp2static
The text was updated successfully, but these errors were encountered: