Categories
eCommerce Magento News

Admin Usage causes JS error Quick Fix(s)

Two fixes have been put forward please use either of the following

The issue is as follows

  • Magento 2.4.6 & 2.4.6-p1
    typical ticket / scenario :
    “As of this morning the Knowledge Centre feature has appeared in our Magento install. I’ve never seen this before.
    It is linked to the Admin system setting “Enable Admin Usage Tracking”. This has always been enabled for us and I’ve never had the Knowledge Centre appear before. “
  • The Knowledge Centre is causing a JS error in our console. It conflicts with some Magento Dashboard settings.
  • With Enable Admin Usage Tracking set to Yes. The “Role Resources” tab is no longer visible in User Roles.
  • Causing issues loading product grids & products also.

Fix One

  • Enable Admin Usage Tracking > Yes
  • Flush Cache

Fix Two

Simply SSH into the server and run the following:

bin/magento config:set admin/usage/enabled 0;
bin/magento cache:clean;

Again please note this is either/or