Laravel-mongodb: Laravel 5.5

Created on 1 Aug 2017  路  16Comments  路  Source: jenssegers/laravel-mongodb

I ran into this issue when I upgraded to laravel 5.5

Declaration of Jenssegers\Mongodb\Eloquent\HybridRelations::belongsToMany($related, $collection = NULL, $foreignKey = NULL, $otherKey = NULL, $relation = NULL) should be compatible with Illuminate\Database\Eloquent\Model::belongsToMany($related, $table = NULL, $foreignPivotKey = NULL, $relatedPivotKey = NULL, $parentKey = NULL, $relatedKey = NULL, $relation = NULL)

bug fixed

Most helpful comment

i getting same issue with laravel 5.5

All 16 comments

Exactly ! I have same problem !
I guess the authors must be redefine "belongsToMany" function with new parameters

Thanks again for your great work!

Broken from Laravel v5.4.31. See this commit.

i getting same issue with laravel 5.5

@SimplyCorey How do we fix it? I read about solved in Laravel Side, but still getting this error with laravel 5.5 installed yesterday and the package added today.

@smendozaisf Laravel ended up reverting the change and making it a backwards breaking change again. My comment is no longer valid.

I ended using Laravel 5.4. I don't like to change vendor folder files. When this package make the update, I'll migrate to Laravel 5.5. I hope it will be soon

Thanks :)

i getting the same issue with laravel 5.5

i getting the same issue with laravel 5.5.14

i getting the same issue with lumen 5.5

i too am getting this error with laravel 5.5!! Is this issue resolved, if not why is it showing as Closed!!

Me too i have the same problem with Laravel 5.5

Me too i have the same problem with Laravel 5.5, how to resolve this errror

why @jenssegers not resolve this issue?

This issue still stands 馃憥

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sebastiaanluca picture sebastiaanluca  路  3Comments

phuocduy1988 picture phuocduy1988  路  3Comments

imrannazirbhat picture imrannazirbhat  路  3Comments

kschethan picture kschethan  路  3Comments

viacheslavpleshkov picture viacheslavpleshkov  路  3Comments