Updated MAMP to PHP 8 but still getting the same issues after updating Kirby to 3.5 from 3.3.5. I have cleared the cache (code and browser), sessions, and media folders.
Somehow there seems to be something missing, because PHP is trying to find the helper kirby() and csrf() in the Kirby\Cms namespace in which they donβt exist.
Fixed, there was an outdated vendor folder which I was using previously, somehow it was affecting it. Deleting it fixed the problems. Thanks for you help