Richard,
Thank you for your help. This is what was shown in my PHP error log:
[26-Jul-2021 11:48:41 America/New_York] PHP Warning: require_once(C:\xampp\htdocs\moodle/lib/coursecatlib.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\moodle\theme\snap\classes\local.php on line 26
[26-Jul-2021 11:48:41 America/New_York] Default exception handler: Exception - Failed opening required '[dirroot]/lib/coursecatlib.php' (include_path='[dirroot]/lib/pear;C:\xampp\php\PEAR') Debug:
Error code: generalexceptionmessage
* line 26 of \theme\snap\classes\local.php: Error thrown
* line 136 of \lib\classes\component.php: call to include_once()
* line 31 of \theme\snap\config.php: call to core_component::classloader()
* line 2297 of \lib\outputlib.php: call to include()
* line 698 of \lib\outputlib.php: call to theme_config::find_theme_config()
* line 178 of \theme\index.php: call to theme_config::load()
I uninstalled the Snap theme completely and removed it from the
server to see what would happen. I clicked on "Change Theme" again and this time there was no error. So, it seems to just be a problem with the theme. I'm probably wrong, but to me it seems like with the Snap theme installed, it's trying to call the coursecatlib.php file which doesn't exist anymore in moodle/lib because it's deprecated. I guess nothing can really be done about it until the Snap theme is updated? It hasn't been updated for 2 months so I guess I should just switch to another theme for now if it doesn't work with the newest Moodle upgrade.