I am trying to:
I have a local development environment and a remote dev/staging environment. I want to export locally created user forms and import them on the staging system.
The export works ok. I get a .xml.zip file. But I can not import this file on the staging system.
I get a "Fatal error: Uncaught Error: Invalid or uninitialized Zip object" error.
I tried to open the downloaded zip file from the dev system locally and receive the following error:
$Downloads unzip mallorca-reisefhrer-all-user-forms-2023-01-12.xml.zip
Archive: mallorca-reisefhrer-all-user-forms-2023-01-12.xml.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of mallorca-reisefhrer-all-user-forms-2023-01-12.xml.zip or
mallorca-reisefhrer-all-user-forms-2023-01-12.xml.zip.zip, and cannot find mallorca-reisefhrer-all-user-forms-2023-01-12.xml.zip.ZIP, period.
I run on WP 6.1.1. and have all Toolset plugins updated.
Hello,
I have tried it in a fresh WP installation + the latest version of Toolset plugins, I can export/import the user forms without any problem, see my screenshot.
Test site Login URL:
hidden link
There might be some compatibility issue in your local development website, please try these:
Deactivate all other plugins, and switch to WordPress default theme 2022,and export the user form and test again
Ok, to be honest: I should have made this checks before opening the ticket.
So I now figured out, that it has something to do with the child theme I created. Once I deactivate the child-theme, the export works fine.
So far I cold not figure out, why the zip is malformed... but it is definitively related to my code.
Nevertheless,
thank you for your support 🙂