because $_SESSION is actually a cookie which has severe space limitations and basically everything wedges when you fill it up
well okay, that’s wrong (still learning my way around PHP), but it’s still good that you switched it to $_GLOBAL
so as not to be duplicating retrieved content for every user in session storage.