Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method wrap does not exist. #142

Open
remif25 opened this issue Feb 9, 2020 · 0 comments
Open

Method wrap does not exist. #142

remif25 opened this issue Feb 9, 2020 · 0 comments

Comments

@remif25
Copy link

remif25 commented Feb 9, 2020

Hello,

i am working on Laravel 5.4.6 and I got this error :

`(1/1) BadMethodCallException Method wrap does not exist.

in Macroable.php line 74
at Collection->__call('wrap', array(array('enabled' => true, 'service' => 'PragmaRX\Countries\Package\Services\Cache\Service', 'duration' => 180, 'directory' => '/tmp/pragmarx-countries-cache')))
at call_user_func_array(array(object(Collection), 'wrap'), array(array('enabled' => true, 'service' => 'PragmaRX\Countries\Package\Services\Cache\Service', 'duration' => 180, 'directory' => '/tmp/pragmarx-countries-cache')))in Coollection.php line 129
at Coollection->PragmaRX\Coollection\Package{closure}(object(Collection))in Coollection.php line 386
at Coollection->runViaLaravelCollection(object(Closure), 'wrap')in Coollection.php line 132
`

And I saw that the function "wrap" from Collection was implemented in Laravel 5.5..
So I conclude, Laravel 5.5.
is a requirement.

Am i right ?

Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant