I am not sure what I am missing but I hope its something simple – from stepping through the code with a debugger trying to figure out the internals – it seems to be something about a mis-configured homepage setting.
Anywho, I spun up a local dev VM using vagrant/shell – installed Drupal and Drush, configure a few modules, bootstrap theme, everything worked great.
Then, I dumped the DB to a SQL file, destroyed VM, spun it back up, restored the DB and the error I get when accessing site:
The website encountered an unexpected error. Please try again later. SymfonyComponentHttpKernelExceptionNotFoundHttpException: in DrupalCorePathProcessorPathProcessorFront->processInbound() (line 46 of core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php).
What is going on? How can I fix it?
I am completely confused as to why the VM worked, but destroying and rebuilding and restoring the database would cause this error. any ideas?