removing the config/themes.php files will solve the issue.
------------------ OR -------------------
if you are switching or trying to set the theme inside the AppServiceProvider
try updating it inside the boot method instead of updating it inside the
register method.