Hello guys!

I've encountered a problem that I have no idea how to fix. Every time I try to create or edit a bundle node (it was working before) it throws:

__sleep should return an array only containing the names of instance-variables to serialize in DrupalDatabaseCache->set()

The issue began out of the blue! I erased the database, disabled and enabled every module, updated the Entity module to a newer version, etc, but with no success. I'm lost! I can't figure out the problem.


sriharsha.uppuluri’s picture

Hi matiaslezin,

I'm also facing the same issue did you find the solution for this.

mukesh.agarwal17’s picture

Getting the same thing on a Drupal 7 site. Have not yet been able to debug the reason.

Mukesh Agarwal

gaurav.goyal’s picture

I was also facing the same issue, after a tough time of 3 days, Fixed the issue. For me the reason was CSM (http://drupal.org/project/csm) module. Disabling this module fixes the problem.

Hope this helps others.