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

compileWhereInRaw #1649

Closed
Steffen-99 opened this issue Nov 23, 2018 · 4 comments
Closed

compileWhereInRaw #1649

Steffen-99 opened this issue Nov 23, 2018 · 4 comments

Comments

@Steffen-99
Copy link

Steffen-99 commented Nov 23, 2018

After Laravel update from 5.7.13 to 5.7.14 the library called exception:

BadMethodCallException
Call to undefined method Jenssegers\Mongodb\Query\Builder::compileWhereInRaw()

Package version of laravel-mongodb are v3.4.3

Rollback laravel version to 5.7.13 works.

snipped of stacktrace

71
BadMethodCallException 
…/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php50
70
Illuminate\Database\Query\Builder throwBadMethodCallException
…/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2917
69
Illuminate\Database\Query\Builder __call
…/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php1158
68
Jenssegers\Mongodb\Query\Builder __call
…/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php954
67
Jenssegers\Mongodb\Query\Builder compileWheres
…/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php235
66
Jenssegers\Mongodb\Query\Builder getFresh
…/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php211
65
Jenssegers\Mongodb\Query\Builder get
…/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php516
64
Illuminate\Database\Eloquent\Builder getModels
…/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php500
63
Illuminate\Database\Eloquent\Builder get
…/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php155
62
Illuminate\Database\Eloquent\Relations\Relation get
…/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php144
61
Illuminate\Database\Eloquent\Relations\Relation getEager
…/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php564
60
Illuminate\Database\Eloquent\Builder eagerLoadRelation
…/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php533
59
Illuminate\Database\Eloquent\Builder eagerLoadRelations
…/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php501
58
Illuminate\Database\Eloquent\Builder get
…/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php77
57
Illuminate\Database\Eloquent\Builder first
…/vendor/laravel/framework/src/Illuminate/Auth/EloquentUserProvider.php128
56
Illuminate\Auth\EloquentUserProvider retrieveByCredentials
…/vendor/laravel/framework/src/Illuminate/Auth/SessionGuard.php351
55
Illuminate\Auth\SessionGuard attempt
…/vendor/laravel/framework/src/Illuminate/Foundation/Auth/AuthenticatesUsers.php81
54
App\Http\Controllers\Auth\LoginController attemptLogin
…/vendor/laravel/framework/src/Illuminate/Foundation/Auth/AuthenticatesUsers.php44
@aszaffranietz
Copy link

aszaffranietz commented Nov 28, 2018

I have the same problem, but that update doesn't fix it for me. :( any suggestions?

This seems to break it again:
laravel/framework#26622

But setting public $incrementing = false; in src/Jenssegers/Mongodb/Eloquent/Model.php doesn't help me as well. I try to eager load the relations from a normal Laravel Eloquent Model in a MySql to a MongoDB Model.

@marcnewton
Copy link

Laravel 5.7.15 has just broken this again early this week, Reverting back to 5.7.14 with package 3.4.4 works fine.

@ludo1960
Copy link

@marcnewton Thanks for the info, reverted back as you posted get it working

@Abdulaziz-n
Copy link

Laravel 5.7.15 has just broken this again early this week, Reverting back to 5.7.14 with package 3.4.4 works fine.

In laravel 9 too this error, has anyone solved this issue?

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

5 participants