"Drush sqlc < myfile.sql" doesn't return the site to previously working state. Are there files to be deleted? I've backed up my drupal 8 database via the CLI using drush sql-dump &gt; myfile.sql.

I make some changes to the site and break it, then I try to restore it via drush sqlc &lt; myfile.sql.

It works for a bit, until I click something and it messes up again as if there was something written to the files causing it and it is not just the database alone that is the culprit. I get this error: 


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


A totally vague error as I'm not sure what is causing it. 

Are there any files that are written to the Drupal directory that has to be deleted as well when doing a drush sqlc &lt; myfile.sql restore?
The website encountered an unexpected error. Please try again later.


There was an error on PHP that Drupal couldn't handle.



If you have your install set to log errors, check the report.

Another option, on your settings.php add:

$config['system.logging']['error_level'] = 'verbose';


To show the errors.