Php8.2 artisan ninja:check-data errors

Hello! After migration from v4 to v5 I have no errors, but after few weeks I’ve got errors when I check with artisan ninja:check-data.

I cannot see any problems with the data, but can you point me where to look and what to check for these errors?

Here is the output:

2023-09-01 02:43:07 2023-09-01 02:43:07 Running CheckData… on Connected to Default DB Fix Status = Just checking issues
2023-09-01 02:43:07 0 clients with incorrect balances
2023-09-01 02:43:07 0 clients with incorrect paid to dates
2023-09-01 02:43:07 0 contacts without a contact_key
2023-09-01 02:43:07 0 clients without any contacts
2023-09-01 02:43:07 0 contacts without a contact_key
2023-09-01 02:43:07 0 vendors without any contacts
2023-09-01 02:43:07 1336 activities records with incorrect invoice company id
2023-09-01 02:43:07 532 activities records with incorrect client company id
2023-09-01 02:43:07 2 activities records with incorrect client_contact company id
2023-09-01 02:43:07 1228 activities records with incorrect payment company id
2023-09-01 02:43:07 1230 invoices records with incorrect client company id
2023-09-01 02:43:07 1218 payments records with incorrect client company id
2023-09-01 02:43:07 0 wrong invoices with bad balance state
2023-09-01 02:43:07 0 Contacts with Send Email = true but no email address
2023-09-01 02:43:07 0 users with duplicate oauth ids
2023-09-01 02:43:07 Done: FAILURE
2023-09-01 02:43:07 Total execution time in seconds: 0.10287404060364

Hi,

Please create an issue on GitHub and we’ll work with you to try to debug the problem.