Can't access property "language",A.document is undefined

Hi I have updated the xwiki version from 16.10.8 to 16.10.12 for testing purpose. everything works like flow and stuff but when i click on edit. there is a popup text bottom center says "cannot read properties of undefined (reading ‘language’) " on chrome and on firefox it says cant access property language a.document is undefined.. picture is attached.
i would appreciate the help.


regards
Shiraz

Hi,

could anyone help? how i can solve this error? is it something i need to configure in xwiki?

Thanks

Shiraz