Justman10000 it happens after which action? In the admin panel right after enabling, or is that once you try to access the homepage? Does the admin panel still work?
Do you see any error message in the Flarum log file or the browser javascript console?