Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

E_NOTICE: MemcachePool::cas(): Server 192.168.0.1 (tcp 11223, udp 0) failed with: NOT_FOUND (0) #95

Open
bdstefan opened this issue May 8, 2017 · 2 comments

Comments

@bdstefan
Copy link

bdstefan commented May 8, 2017

Hello,

I encounter this notice everytime when I am using getAdp on a non-existing key.

Env details:
"leaseweb/memcache-bundle": "2.1.11"
PHP 5.5.30
memcache: 3.0.8

Thanks!

@mevdschee
Copy link
Contributor

mevdschee commented May 8, 2017

Add a "@" before the parent::cas command on line 115 in LoggingMemcache.php:

https://github.com/LeaseWeb/LswMemcacheBundle/blob/master/Cache/LoggingMemcache.php#L115

That should get rid of the warning/notice.

@bdstefan
Copy link
Author

Thanks, but this is not what I was expected. :) So, there is not other solution for this issue?

With or without errors suppression, If found out that it is translated into a lot of sets to memcache, even if the key exists.

Could be something related to php-ext version?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants