This started showing up in our logs after 2.4.4 upgrade and shift to amasty/adminactionslog 2.0.9
[2022-08-01T08:00:06.841008+00:00] main.ERROR: An error occurred during Logging Action execution. Error is Visit History Entry with specified ID "0" not found. [] []
You're clearly trying to read a value from the amasty_audit_visit_details table before it's set.