Hello, I recently installed Moodle 3.11 on an Ubuntu 20.04 server running Apache 2.4, PHP 7.4 and MySQL 8.0, located at https://scuola.itolman.net
I often get a "TypeError: Cannot create property 'stack' on string 'Forbidden'" error when visiting some pages of the site - most often when I try to use the "Messages" and "Dashboard" pages of Moodle, like in this screenshot:
Usually I need to reload the page to workaround this problem.
Sometimes I even get a "403 Forbidden -You don't have permission to access this resource." error page from Apache server:
Again, reloading the page seems to work around the problem.
Where should I look to try to understand and fix this problem?
Thanks in advance,
Gerlos