-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Failed to save key "%5BTsBet%5CPlayer%5CEntity%5CBE%5CDiscountsBirthdays%5D%5B1%5D" (array) #21995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you please apply #21996 an report any additional info that it may provide? |
What kind of information i can provide to approve fix for this? |
you can apply the patch in #21996 and report the new log messages (you should have more context info) |
it's impossible to apply patch on production servers. On stage and dev environments can't reproduce this issue. Will try again today. |
…olas-grekas) This PR was merged into the 3.2 branch. Discussion ---------- [Cache] Enhance error reporting for FilesystemAdapter | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes/no | Fixed tickets | - | License | MIT | Doc PR | - So that we can provide feedback for cases like #21995 Commits ------- ebb316d [Cache] Enhance error reporting for FilesystemAdapter
Hi,
|
What is a "NoticedError" ? |
We are using newrelic for monitoring production applications. from 3.2.6 (including 3.2.7) it starts generate this type of notice errors... Our monolog config:
I am not sure hut our app is very busy, so maybe its cache racing, but as I mentioned in SF 3.2.5 we do not had any similar issues... |
This type error raising related almost all doctrine entities... with same cache reason... Application stats: |
We are now faced with this same error blocking our deploys. I get both Failed to save key and Failed to fetch key messages. We are using the snc redis bundle for doctrine metadata caching of mongodb doctrine annotations and trying to flush this cache on our staging server on each deploy with : just running php app/console --env=prod is resulting in the same messages and the console command never finishes (or not within a normal time period, ran for more than 5 minutes). Disabling the redis bundle for metadata caching does not seem to help either. What can i do to get you more information, so we can debug this issue? |
Found some more logs after changing the log level : Any ideas? |
I'm closing this one: very likely, the issue is that your APCu cache is full, thus yes, some keys cannot be saved. |
See also #23390 which solves a similar issue. |
In my case it seems that APCu was not enabled for the cli. |
@arendjantetteroo, @nicolas-grekas thank you. |
I'm using symfony 3.2.6 on production server getting errors regarding array cache adapter.
Stack trace.
PS. with 3.2.3 version there was no errors like this. PHP version 5.6.26
The text was updated successfully, but these errors were encountered: