Craft localisation caching error
My guess is this is the cause:

'cacheMethod' =&gt; getenv('CACHE_METHOD'),


getenv('CACHE_METHOD') is probably returning null because that environment variable isn't being set like you expect or its set to an unknown caching driver.