Symfony LswMemcacheBundle LoggingMemcache::get() should be compatible

June 16, 2015

When running Symfony application with LeaseWeb/LswMemcacheBundle, below error: Declaration of Lsw\MemcacheBundle\Cache\LoggingMemcache::get() should be compatible with Memcached::get($key, $cache_cb = NULL, &$cas_token = NULL, &$udf_flags = NULL) It is cause by php-memcached 2.2.x gives runtime notices and should be avoided! For those who used php-memcached 2.2.x, may uninstall it and install with php-memcached 2.1.0. Using php pecl, […]