-
-
Notifications
You must be signed in to change notification settings - Fork 714
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
Laravel 11 didnt register activity #1284
Comments
got the same problem on Laravel 11 |
same issue with MySql 5.7.44 PHP 8.2 Laravel 11 |
same issue with Laravel 11.16.0 and MSSql |
This might be because the
|
@therajumandapati sorry for the delay, i havent been watching this post. I dont think that change in the implementation makes any effect, because the deleted event should keep working and when i try it again (a few months ago), goy back to the implementation that spatie recommends in the docs page. I already make some kind of "library" on my own to replicate the operation from activity logs (not all the methods and functions) to move over this. |
Describe the bug
Already installed activity log into a laravel 11 new proyect, use the same estructure like i used in a laravel 10 proyect, bue get no errors in laravel log and not even using x-debug.
To Reproduce
Install package, generate the following trait
`<?php
namespace App\Models\Traits;
use Spatie\Activitylog\LogOptions;
trait LogsActivity
{
use \Spatie\Activitylog\Traits\LogsActivity;
}
`
And add in models this trait
Expected behavior
Get activity when create, update or delete model
Versions (please complete the following information)
The text was updated successfully, but these errors were encountered: