We upgraded our project from Craft 4 to Craft 5. Our project only has one site. When opening the Translations menu item of the plugin, the following errors occurs:
The error gets thrown in the src/templates/index.twig file of the plugin. You are checking for a parameter, but when only one site is available, the site is parameter is not present.
Description
We upgraded our project from Craft 4 to Craft 5. Our project only has one site. When opening the
Translations
menu item of the plugin, the following errors occurs:The error gets thrown in the
src/templates/index.twig
file of the plugin. You are checking for a parameter, but when only one site is available, the site is parameter is not present.Steps to reproduce
Additional info