Open sonkwl opened 3 weeks ago
You have added comments to issue #4145 that clearly should have been added to this one. Please delete the comments there and re-add them here.
As for your issue, you have a problem with Composer, possibly related to how it caches its information. See https://github.com/PHPOffice/PhpSpreadsheet/issues/3615#issuecomment-1595846986 for steps to correct it.
Thank you for your reply. My project handles network isolation status and cannot be updated directly using composer. My guess would be the zipstream version issue. I see #3615 issuse is open.Are there any plans to fix this issuse?Or add a new version error alert.
The issue is open only so that the fix to the Composer problem is easily available to those experiencing the problem. There is no problem to fix in PhpSpreadsheet in a properly configured environment.
My code.
Specific errors are reported as follows
Locating Error Codes
The error appears to be due to incorrect use of the constructor。
How I handle it.
compulsory use “ZipStream3::newZipStream”.
version information
Originally posted by @sonkwl in https://github.com/PHPOffice/PhpSpreadsheet/issues/4145#issuecomment-2306061242