Skip to content

Conversation

@koss-shtukert
Copy link
Contributor

When using lists method in Query\Builder:
Call to undefined method Illuminate\Database\Query\Builder::hasGetMutator().
Need new method getMutatorMethod

Proposed changes fix issue.

… using lists method.

When using lists method in Query\Builder:
Call to undefined method Illuminate\Database\Query\Builder::hasGetMutator().
Need new method getMutatorMethod

Proposed changes fix issue.
@GrahamCampbell
Copy link
Collaborator

Please update the tests.

xAockd and others added 2 commits December 17, 2014 11:29
replace hasGetMutator to getMutatorMethod
@xAockd
Copy link
Contributor

xAockd commented Dec 17, 2014

@GrahamCampbell Done.

@arcanedev-maroc
Copy link
Contributor

I've got the same error when i switch my projects to "laravel/framework": "4.2.x-dev".

When i run artisan, i got this:
Exception => 'BadMethodCallException' with message 'Call to undefined method Illuminate\Database\Query\Builder::hasGetMutator()' in (base_path)\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php:2143

And it caused by lists() method from Eloquent Model (Illuminate\Database\Eloquent\Builder->lists('id')).

@GrahamCampbell
Copy link
Collaborator

We need to restore the original function in laravel 4.2 to maintain bc before the next patch tag. I will deal with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants