Continuous PHP errors logged when V2 client connects to V3 server

Whenever a version 2 bluecherry client connects to a version 3 bluecherry server and the connection is made with user credentials that have been granted the “archived video” permission, the server continuously logs the following PHP error in /var/log/nginx/bluecherry-error.log file:

2024/10/16 09:05:13 [error] 1428#1428: *794 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key “media_duration” in /usr/share/bluecherry/www/ajax/events/eventsIndex.php on line 128

This happens for both client versions 2.2.6 and 2.2.9 and for all V3 server versions up to and including 3.1.5.

If the client connects with a user which has not been granted the “archived video” permission, then the messages do not occur.