gallery not displayed after joomla 5.1 migration

Hi,
after joomla 5.1 migration, my gallery is not displayed anymore.
I get this error : https://i.imgur.com/5YS6nQB.png
Any idea why?
THanks
L.

Replies are visible only to logged in members with an active subscription.