Error after trying to use theme EXPORT ZIP
-
Hello,
I posted this topic on the general WP forum, and someone there gave me this link. So I’m hoping I can get further assistance with this issue here…
ISSUE: When I click ‘EXPORT ZIP’ I get a ‘Fatal Error’ message. I’ve used it before, but looking back at my backups, the last zip backup I have is from July 2024, So it’s possible this issue may have started a while ago, but since I haven’t made any changes to the theme, I just didn’t take the time to investigate it..
I contacted my site host and they suggested I increase some php setting, which I did (by doubling them), but the increases didn’t make a difference. Next it was suggested I enabled debugging, which I did. Below is the line from the debug log file about Export Zip. The message is warning: NO SUCH FILE OR DIRECTLY.
Since this is my first post here, I’ll wait for instructions before I post anything else. I assume the first step would be to confirm that the directory exists, but how do I do that in WP? If the site is working, why would this be reporting a file or directory is “missing”? And if it is there, why wouldn’t it know where it is? Possibly a bug in the plugin after an update?
If you want to review the previous thread, here is the link:
https://ww.wp.xz.cn/support/topic/error-after-trying-to-use-theme-export-zip/#post-18784374Thanks…JEB
[12-Jan-2026 22:00:25 UTC] PHP Warning: ZipArchive::addFile(): No such file or directory in /home/REMOVED*/public_html/wp-content/plugins/create-block-theme/includes/create-theme/cbt-zip-archive.php on line 24
[12-Jan-2026 22:00:26 UTC] PHP Fatal error: Uncaught TypeError: parse_url(): Argument #1 ($url) must be of type string, array given in /home/REMOVED*/public_html/wp-admin/includes/file.php:1161
Stack trace:
Then it lists 16 different files and their directories. I assume these are the files it should be backing up.
*NOTE: I removed the actual directory name.
You must be logged in to reply to this topic.