php - Eloquent paginate breaks on 4.2 -


i receiving following error when using paginate eloquent:

argument 2 passed illuminate\pagination\factory::__construct() must instance of illuminate\view\factory, instance of illuminate\view\environment given, called in c:\****\vendor\laravel\framework\src\illuminate\pagination\paginationserviceprovider.php on line 23 , defined

for testing purposes, have in method of controller:

return user::paginate(15); 

i'm aware upgrade procedure docs, don't have of references mentioned there.

update:

in specific case there package in workbench requiring illuminate 4.1 components, changed 4.2 in composer.json, removed vendor dir , composer.lock file, did composer install, , error gone.

these operations done within package folder.

posted comment, right answer:

is there chance requiring of laravel components, , not entire laravel framework? if working things can out of whack, if not of components updated 4.2.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -