Since the inclusion of route logging (https://github.com/owen-it/laravel-auditing/blob/master/src/AuditingTrait.php#L247), we can't run
php artisan db:seed
This is the exception raised:
[Symfony\Component\Debug\Exception\FatalErrorException]
Call to a member function getName() on null
Didn't think about that :-)
The audit logs changes from db seeds too. Guess we need to check for that.
Would someone want to log seeds also? Maybe there could be some config option about this.
Thank @franciscojun, I'll check it out today. :+1:
me too
[Symfony\Component\Debug\Exception\FatalErrorException]
Call to a member function getName() on a non-object
I have also the problem
[Symfony\Component\Debug\Exception\FatalErrorException] Call to a member function getName() on a non-object
I have sent a suggestion - fix... hope there's no more problems with this :-)
We have a positive return of this issue? or is there another approach that we should know?
@franciscojun and @lrpasquetto, it's alright?
@anteriovieira Perfect now 馃憤 :) Thanks mannnn!!!!!!! # @
Great approach! @achillesp solved the issue itself and added a valuable new config option, which is good for our use case, since we don't intend to log db seeds. Thank you, guys!
Most helpful comment
Great approach! @achillesp solved the issue itself and added a valuable new config option, which is good for our use case, since we don't intend to log db seeds. Thank you, guys!