After Magento update to 2.4, I'm getting this "base is not a constructor" error which is causing other grids to unable load in the admin. When I run the command: ->sudo chmod 777 -R Var/ pub/static/ generated then cache flush error stopped showing but it starts showing again when I navigate other admin pages.
Please suggest some solution. Any help will be appreciated.