[Upgrading to 5.2] Trait method replicate has not been applied, because there are collisions with other trait methods

Posted 3 years ago by SergioGregorutti

Hi all,

Im trying to update my Laravel application from 5.1.* to 5.2 and I'm dealing with this problem.

It seems like there's a problem with Models/Eloquent or so. This is the error:

FatalErrorException in User.php line 8:
Trait method replicate has not been applied, because there are collisions with other trait methods on Argemundo\User
...
in User.php line 8
at FatalErrorException->__construct() in HandleExceptions.php line 132
at HandleExceptions->fatalExceptionFromError() in HandleExceptions.php line 118
at HandleExceptions->handleShutdown() in HandleExceptions.php line 0
in ClassLoader.php line 412
at Composer\Autoload\includeFile() in ClassLoader.php line 301
at ClassLoader->loadClass() in Model.php line 797
at spl_autoload_call() in Model.php line 797
at Model->belongsTo() in CommerceComment.php line 36
at CommerceComment->user() in Builder.php line 692
at Builder->Illuminate\Database\Eloquent\{closure}() in Relation.php line 184
at call_user_func:{/home/vagrant/Code/argemundo_app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php:184}() in Relation.php line 184

I really don't have any idea of where the error comes from. Any ideas?

Thanks in advance.

Please sign in or create an account to participate in this conversation.