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:
Has anyone experienced this before? Would appreciate any insight you might have.
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.
Check if the file exists in /vendor/psr/cache/src/CacheItemPoolInterface.php. If not, something went wrong while copying the files.
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.
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?
If the file exists, I'd try clearing the OPcache via PHP (Google it).
And if that doesn't work either, maybe the classmap from Composer needs to be renewed? E.g. via public/concrete -> `composer dumpautoload --optimize`
No dice with either. Thanks for the ideas though, I had not tried clearing the OPcache.
Any luck with 'composer install' or 'composer dumpautoload'?
No luck with the suggestions, but I appreciate the ideas. I'm in the same
boat as dantheman and ready to set up a new instance.
boat as dantheman and ready to set up a new instance.