Leaseweb / LswMemcacheBundle

Symfony bundle for Memcache Doctrine caching and session storage in the Web Debug Toolbar.
MIT License
202 stars 57 forks source link

Strict standards broken #35

Closed turneliusz closed 9 years ago

turneliusz commented 10 years ago
Strict standards: Declaration of Lsw\MemcacheBundle\Cache\LoggingMemcache::get() should be compatible with Memcached::get($key, $cache_cb = NULL, &$cas_token = NULL, &$udf_flags = NULL) in /home/damian/PhpstormProjects/shop-new/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Cache/LoggingMemcache.php on line 1358

Strict standards: Declaration of Lsw\MemcacheBundle\Cache\LoggingMemcache::getByKey() should be compatible with Memcached::getByKey($server_key, $key, $cache_cb = NULL, &$cas_token = NULL, &$udf_flags = NULL) in /home/damian/PhpstormProjects/shop-new/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Cache/LoggingMemcache.php on line 1358

Strict standards: Declaration of Lsw\MemcacheBundle\Cache\LoggingMemcache::getMulti() should be compatible with Memcached::getMulti(array $keys, &$cas_tokens = NULL, $flags = NULL, &$udf_flags = NULL) in /home/damian/PhpstormProjects/shop-new/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Cache/LoggingMemcache.php on line 1358

Strict standards: Declaration of Lsw\MemcacheBundle\Cache\LoggingMemcache::getMultiByKey() should be compatible with Memcached::getMultiByKey($server_key, array $keys, &$cas_tokens = NULL, $flags = NULL, &$udf_flags = NULL) in /home/damian/PhpstormProjects/shop-new/vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Cache/LoggingMemcache.php on line 1358

PHP Version:

PHP 5.5.16-1+deb.sury.org~trusty+1 (cli) (built: Aug 25 2014 10:24:59) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
    with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans
lracicot commented 10 years ago

I have this problem too.

PHP 5.6.0 (cli) (built: Sep 13 2014 10:36:37) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
    with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans
phbord commented 9 years ago

You should show what version of php5-memcached you are using

whisller commented 9 years ago

Have this same error.

PHP

PHP 5.6.3-1~dotdeb.1 (cli) (built: Nov 16 2014 21:51:11)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies

php5-memcached

2.2.0

memcached

1.4.13
whisller commented 9 years ago

There is a patch in php that at least based on comments fix this problem https://bugs.php.net/bug.php?id=66331&thanks=6

mevdschee commented 9 years ago

please read #21

mevdschee commented 9 years ago

Closing this ticket as version 2 is out which uses the PHP memcache extension (not memcached) and does not have these issues.