Closed (works as designed)
Project:
Memcache API and Integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2016 at 21:26 UTC
Updated:
14 Jan 2017 at 15:38 UTC
Jump to comment: Most recent
Comments
Comment #2
rsvelko commentedmore info / bug analysis: some of the $pieces dont have ->data because they are == NULL - I saw this using easy_kint's d() function to see all $piece variables in the foreach($pieces as $piece) - some of them had $piece->data set and not empty, but other $piece vars were /are NULL...
my patch fixes the php notice via the usual "if isset" method.
Comment #3
sketman commentedI had this error too, patch made it for me. Thanks!
Comment #4
sketman commentedComment #5
jeremy commentedThis shouldn't happen; and, putting together NULL pieces will likely re-assemble an invalid option. Possibly this was from https://www.drupal.org/node/2415109 -- if you're using memcached instead of memcache with the latest release, you can still run into this error. Alternatively, perhaps you're seeing some evictions.