Hello and sorry to bother you again.
I have a site in temporary production server. Now I got the “final” production environment with two front-ends and a database/file-server.
I had a simple idea how to move the site from one server to another: copy the database to the farm database server, copy the drupal directory to front-end (one to start with), change settings.php to point to the database in database server, copy the nginx conf-file and just run it.
Now when trying to run for example “drush cr” I get:
PHP Fatal error: Class name must be a valid object or a string in /srv/site-d8/core/modules/field/src/FieldStorageConfigStorage.php on line 155 Fatal error: Class name must be a valid object or a string in /srv/site-d8/core/modules/field/src/FieldStorageConfigStorage.php on line 155 Drush command terminated abnormally due to an unrecoverable error. [error] Error: Class name must be a valid object or a string in /srv/site-d8/core/modules/field/src/FieldStorageConfigStorage.php, line 155
The same error comes when I try open the site itself by browser. I have been fighting with this for whole the day and getting really frustrated. I found some instructions on the google, but though I changed the drupal code (no-no, I know) to check the availability of the class, but then the error seems to propagate somewhere else.
The environments should be fully similar, nginx as a web server
The problem is that the site should be running there next Monday plus also another site I haven’t even been trying to move.
Any help, anyone?