Moving files in the root directory will result in an error.

Root directory A and file a.jpg. If I move a.jpg to directory A, it will prompt that some elements are incomplete. The actual file has been successfully transferred. However, if I move a.jpg out of the same level as A or to other directories, no error will be reported. The following is the error message

Trying to access array offset on value of type null at /www/wwwroot/nextcloud/apps/activity/lib/FilesHooks.php#417

An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘)) AND (sh.parent IS NULL)’ at line 1
Exception thrown: Doctrine\DBAL\Exception\SyntaxErrorException

array_keys(): Argument #1 ($array) must be of type array, null given