2

I am installing a second Drupal 8 site on an existing server configured to redirect a sub-domain to the new site. The Install was uneventful, but when I visit the site to confirm it is working I am met by:

The website encountered an unexpected error. Please try again later.

Inspecting the apache2 error.log i see the following:

Uncaught PHP Exception Symfony\\Component\\Routing\\Exception\\RouteNotFoundException: 
"Route" search.view_node_search" does not exist." at
/var/www/html/subdomain/core/lib/Drupal/Core/Routing/RouteProvider.php line 187

I have double checked my rewrite module and it seems to be setup correctly for the sub-domain. I even tried re-setting it in the virtual host and the .htaccess file but no luck.

The directory for the sub-domain does differ in name to the actual site address, though I think this should not be a problem.

Can someone please explain what this means and how I fix it?

1 Answer 1

2

Clearing cache at config/development/performance worked for me.

1
  • This didn't work for me. Any other ideas?
    – gillarf
    Jul 3, 2020 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.