We are about to drop the
mw.config.get( 'wbEntity') config value, that is deprecated for two years. Starting on Wednesday, July 24th, scripts that use this value may encounter issues.
I noticed that your script located on User:Mbch331/Gadget-AuthorityControl.js is still using this value. I suggest that you update it, for example by using the hook
wikibase.entityPage.entityLoaded (see an example here).
If you have any questions or need help, feel free to leave a comment under the related task.
Thanks for your understanding!