- 🇺🇸United States sunset_bill
I get the same warnings from memcache_storage.install() in Docker on my local. It looks like the problem is that memcached isn't running, so memcache_storage doesn't get a connection, which leads to other problems.
D 9.4.5 - Php 7.4.2 - Memcached 3.1.5
I'm trying to test the simply Memcached local config with MAMP PRO but as soon as I enter in settings.php
$settings['cache']['default'] = 'cache.backend.memcache_storage';
I get these this status error "Memcache Storage: default cluster (127.0.0.1:11211) non connection" and watchdog errors
Warning: Invalid argument supplied for foreach() in /Users/Reportec/mampsites/D9/945memcached/modules/memcache_storage/src/DrupalMemcachedBase.php on line 164
Warning: sizeof(): Parameter must be an array or an object that implements Countable in /Users/Reportec/mampsites/D9/945memcached/modules/memcache_storage/src/DrupalMemcachedBase.php on line 174
Warning: Invalid argument supplied for foreach() in /Users/Reportec/mampsites/D9/945memcached/modules/memcache_storage/src/DrupalMemcached.php on line 177
Warning: Memcached::setMulti(): failed to set key memcache_storage_bin_indexes in /Users/Reportec/mampsites/D9/945memcached/modules/memcache_storage/src/DrupalMemcached.php on line 136
Warning: Invalid argument supplied for foreach() in /Users/Reportec/mampsites/D9/945memcached/modules/memcache_storage/src/DrupalMemcached.php on line 177
Warning: Memcached::setMulti(): failed to set key cache_config1-system.logging in /Users/Reportec/mampsites/D9/945memcached/modules/memcache_storage/src/DrupalMemcached.php on line 136
Note that I also use MAMP PRO for Redis (which has more or less the same kind of configuration in settings.php) and it works very well.
What could be the problem?
Thanks for your help
Active
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I get the same warnings from memcache_storage.install() in Docker on my local. It looks like the problem is that memcached isn't running, so memcache_storage doesn't get a connection, which leads to other problems.