theming – “The website encountered an unexpected error” when creating contrib and custom folders

My Bootstrap Theme in Drupal is currently in the location var/www/html/project/themes/bootstrap on my laptop.
However, when I create a new directory- contrib (inside the themes directory) and move the bootstrap directory into it, I get the ‘website encountered error’ message. I launch the website via chrome using .localhost/project