-
Notifications
You must be signed in to change notification settings - Fork 276
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
can't restore from .zip #977
Labels
[Aspect] Website
[Feature] Import Export
[Priority] High
[Type] Bug
An existing feature does not function as intended
Comments
Thank you for reporting @diy-pwa! It looks like the |
adamziel
added a commit
that referenced
this issue
Feb 5, 2024
…alth Plugin Prior to this PR, Playground would apply a series of patches to the WordPress source code to make it compatible with the PHP-Wasm runtime. This PR removes the applyWordPressPatches step. All the adjustments are now done via filters in the Playground mu-plugin. ## List of changes * Site Health plugin is now enabled by default. * The PHPRequestHandler will return a 502 status code when a request is received while another request is still being handled. Previously it would deadlock as handling a request requires an exclusive lock on the PHP instance. This prevents the Site Health plugin from trigerring a deadlock by requesting the WordPress site from inside the PHP code. * Playground mu-plugin lives in the playground-remote package, not in the Blueprints package. The plugin is only used by the Web Worker where Playground is set up, so let's bundle those together. * Network transports are now a part of the Playground mu-plugin and are not created conditionally. This solves #977. ## Testing instructions * Confirm the CI checks pass. * Customize the WordPress site in Playground, export it, restart Playground, import the file, confirm it worked. * Try out the WordPress PR previewer and confirm it still works.
#1001 explores a fix |
adamziel
added a commit
that referenced
this issue
Feb 5, 2024
…alth Plugin (#1001) Prior to this PR, Playground would apply a series of patches to the WordPress source code to make it compatible with the PHP-Wasm runtime. This PR removes most of those patches and the entire `applyWordPressPatches` step. ## List of changes * The Site Health plugin is now enabled by default. Playground's PHP.wasm now supports enough PHP features to enable that. * The `wp_new_blog_notification` function is no longer overridden as one shipped by WordPress works. * Network transports are now a part of the Playground mu-plugin and are not created conditionally. This solves #977. * Playground mu-plugin lives in the playground-remote package, not in the Blueprints package. The plugin is only used by the Web Worker where Playground is set up, so let's bundle those together. * The `PHPRequestHandler` now returns a 502 status code when a request is received while another request is still being handled. Previously it would deadlock as handling a request requires an exclusive lock on the PHP instance. This prevents the Site Health plugin from triggering a deadlock by requesting the WordPress site from inside the PHP code. ## Testing instructions * Confirm the CI checks pass. * Customize the WordPress site in Playground, export it, restart Playground, import the file, confirm it worked. * Try out the WordPress PR previewer and confirm it still works. cc @bgrgicak
This should be solved now. Feel free to reopen if it happens again. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
[Aspect] Website
[Feature] Import Export
[Priority] High
[Type] Bug
An existing feature does not function as intended
I am trying to restore the attached .zip file at playground.wordpress.net. It was created by downloading as .zip. I get the following error:
wordpress-playground (3).zip
The text was updated successfully, but these errors were encountered: