I'm using version 1.15.5, and as stated in documentation, it should have ability to enable/disable logging at runtime:
https://docs.spatie.be/laravel-activitylog/v1/advanced-usage/logging-model-events#
But it look like version 1.x doesn't have that functionality.
I am also using 1.15.5, getting same error while disable logging.
@uyab @ankitasoman Hi, as noted in the Changelog this feature was added in the v1.16.0 of the package. We have updated the docs about this, thank you for pointing this issue out :)
@introwit cant upgrade package to 1.16.0. Seems like you haven't published a tag.
@ankitasoman @uyab Done :) Release