PHP Fatal error: Call to undefined method EntityDBExtendable::__sleep() in ./sites/all/modules/contrib/search_api/includes/entity.inc on line 252

Using Drupal RC 1 and Entity API 7.x-1.0-beta3

Comments

drunken monkey’s picture

Title: Calling Undefined method on EntityDBExtendable - __sleep() » EntityDBExtendable::__sleep() is gone
Status: Active » Fixed

Saw it myself, yesterday. This is what happens when base modules make API changes unannounced …
Fix committed, may need a follow-up to keep logic intact (don't know how that works now …).

kmadel’s picture

The lastest dev works against the latest Entity API dev (Dec 3) and Drupal 7RC1. Nice work.

floretan’s picture

There's another instance of the same problem:

Fatal error: Call to undefined method Entity::__sleep() in sites/all/modules/contrib/search_api/includes/entity.inc on line 750

This one happens when trying to create a view using the Default Node Index with search_api_views.

floretan’s picture

Status: Fixed » Active

There's another instance of the same problem:

Fatal error: Call to undefined method Entity::__sleep() in /home/florian/workspace/feuille-officielle/www7/sites/all/modules/contrib/search_api/includes/entity.inc on line 750

This one happens when trying to create a view using the Default Node Index with search_api_views.

drunken monkey’s picture

Status: Active » Fixed

I already found and fixed that locally, but at the moment I have a bit of a commit jam. Will be committed along with #991632: Incorporate newly available entity hooks, probably tomorrow.

Sorry I can't do this right now, messed a bit up in planning there.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.