PHP Fatal Error when site moved

Permalink
I have moved a new 8.4 site to a different server from my local environment
Moved all site files and db, but did not move cache or tmp
Permissions are correct
Configuration database.php file correct
Result: white screen of death - completely empty page
PHP v5.6.3

From Apache error log:
PHP Fatal error:  Interface 'Psr\\Cache\\CacheItemPoolInterface' not found in /var/www/example/public/concrete/vendor/tedivm/stash/src/Stash/Interfaces/PoolInterface.php on line 24


Has anyone experienced this before? Would appreciate any insight you might have.

dantheman
View Replies:
A3020 replied on at Permalink Reply
A3020
Check if the file exists in /vendor/psr/cache/src/CacheItemPoolInterface.php. If not, something went wrong while copying the files.
dantheman replied on at Permalink Reply
dantheman
Thanks for these suggestions A3020. In the end I cut my losses, set up a new C5 instance on the server then put the theme in place. So - no insight from me or resolution at this time.
culacantha replied on at Permalink Reply
I have encountered the exact same error in moving an 8.4 site and the file CacheItemPoolInterface.php exists in the referenced location. Is there a fix and/or has anyone identified where the issue is?
A3020 replied on at Permalink Reply
A3020
If the file exists, I'd try clearing the OPcache via PHP (Google it).
A3020 replied on at Permalink Reply
A3020
And if that doesn't work either, maybe the classmap from Composer needs to be renewed? E.g. via public/concrete -> `composer dumpautoload --optimize`
culacantha replied on at Permalink Reply
No dice with either. Thanks for the ideas though, I had not tried clearing the OPcache.
A3020 replied on at Permalink Reply
A3020
Any luck with 'composer install' or 'composer dumpautoload'?