At the root of your SuiteCRM folder, you find a file called .env
Inside that text file there is a line saying
APP_ENV=prod
which you can change (temporarily) to
APP_ENV=dev
Then run a cache clear:
bin/console cache:clear
Make sure you didn’t mess up the ownerships on the cache directory (this would happen if you ran those commands as root, which is not the best thing to do)
Now when you get the error again, you might get extended error information in the new debug toolbar that appears on the bottom of the screen, or in the browser’s developer tools, network tab