Issue: Export fails immediately

Open
#802 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, php, wordpress
Domain
backend

Research direction

Reproduce the export in the reported Docker setup with PHP 8.0.10 and inspect the Chrome network request to admin-ajax.php, especially the wp2static_run action. Compare the immediate 500 response with the max_execution_time configuration and identify the relevant export entry point. Done means the cause is confirmed and the export no longer fails immediately under the reported setup.

Written by the indexing model from the issue text.

Description

environmental

Hi Leon,

I'm running WordPress in a Docker container locally.

PHP version 8.0.10
Wordpress: latest
upload_max_filesize set to 500M
max_execution_time set to 36000

Downloaded WP2Static source from GitHub and built OK
Downloaded WP2Static add on and build OK

Wordpress installed and runs on localhost:8000 (default theme at this point)

install WP2Static and WP2Static S3 addon via Add New PlugIn and uploads the zip files - both activated

Add S3 credentials and bin settings to the addon.

Click on Run/Generate Static site

Error returns immediately error code 500 - message about increasing max_execution_time

Looking at the network tab on Chrome developer tools, there's no other errors except for the admin-ajax.php call with Form Data:
action: wp2static_run

Any ideas?

Many thanks

Dominant language
PHP
Stars
1.5k
Forks
294
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from elementor/wp2static

All issues in elementor/wp2static

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.