This repository has been archived by the owner on Feb 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 269
Call to a member function close() on string #117
Comments
Maybe your PHP version is not compiled with zip support. |
@eaponiente Could you solve it somehow? |
nextlevelshit
added a commit
to nextlevelshit/Zipper
that referenced
this issue
May 5, 2018
$this should not be assigned with any information as long it is not clear that the corresponding repositories can be loaded. Otherwise there won't be throwing the right exception. Now for instance the corrector exception will be > Error: Your PHP version is not compiled with zip support Instead of > Call to a member function close() on string
This PR should throw the right exception now. After that follow these steps if your using an ubuntu distro for instance. First check for any package that corresponds to your PHP Version.
If there are some matching packages, just install them:
Last but not least restart your apache if you're using one:
If you were using a locale dev server then restart it:
|
Chumper
pushed a commit
that referenced
this issue
Mar 24, 2019
$this should not be assigned with any information as long it is not clear that the corresponding repositories can be loaded. Otherwise there won't be throwing the right exception. Now for instance the corrector exception will be > Error: Your PHP version is not compiled with zip support Instead of > Call to a member function close() on string
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
PHP 7.2
Laravel 5.2
I already installed ZipArchive package,
this error always occur when ever I upload the zip file
Call to a member function close() on string
its working before, but suddenly its giving error
The text was updated successfully, but these errors were encountered: