Hello,
I have read in the forum that in Joomla 4 code the former, Joomla 3, function isAdmin() has been replaced with isClient('administrator'). I have fixed this manually for Virtuemart 4.0. But when I have updated my test site with Virtuemart 4.02, the error was there again. I am not sure if the bud is still in Virtuemart code, but is in Horme_3 template. Its easy to find with grep.
Nice point!
Like a childish guessing game converting from J3 to J4... guess it gives the Joomla devs a snigger when yet another pointless change is missed... ::)
Horme3 is BS3 and not for j4.