WordPress / wordpress-playground

Run WordPress in the browser via WebAssembly PHP
https://w.org/playground/
GNU General Public License v2.0
1.65k stars 263 forks source link

I can't restore from .zip file #2001

Closed asmarin closed 5 days ago

asmarin commented 1 week ago

When I try to restore from a .zip file, playground fails...

Seeing logs, show this:

[18-Nov-2024 11:41:17 UTC] PHP Warning: plugins_api(): Ha ocurrido un error inesperado. Puede que algo vaya mal con WordPress.org o la configuración de este servidor. Si sigues teniendo problemas, por favor, prueba en los foros de soporte. (WordPress no ha podido establecer una conexión segura con WordPress.org. Por favor, contacta con el administrador de tu servidor). in /wordpress/wp-includes/functions.php on line 135

I opened zip file and looks good.

Put a copy on ticket.

wordpress-playground.zip

bgrgicak commented 6 days ago

@asmarin I was able to import your zip into Playground and could see WooComerce was installed and inactive. Is this what you would expect?

Are there any other errors you get in the browser console or on the page? The warning you shared is related to a failed network request to WordPress.org, which shouldn't prevent the import from working.

For network requests to work your Playground needs to have networking enabled. Image

Here is also an example of the ZIP export and import process. https://github.com/user-attachments/assets/73bd52ce-5f4f-41ca-b65d-5bd3e88feb50

asmarin commented 5 days ago

Solved!