[Wed Dec 01 14:38:29 2010] [error] [client xxx] PHP Fatal error: Declaration of EntityAPIController::resetCache() must be compatible with that of DrupalEntityControllerInterface::resetCache() in /virt/homes/podarok/htdocs/sites/all/modules/entity/entity/entity.controller.inc on line 107

release is broken with D7-rc1

7.x-dev looks like working

CommentFileSizeAuthor
#14 entity_controller.patch510 bytespeijun

Comments

kukle’s picture

same over here with install of rc1

thekevinday’s picture

I also see this problem with -beta2 and i do see this working with -dev.
This commit is probably what fixed it: http://drupal.org/cvs?commit=457358

I guess this is +1 for a -beta3 version as this is a critical bug when combined with D7-rc1

mgifford’s picture

Agreed. Looking forward to a new release of this module!

mgifford’s picture

Well, there's an update today for the dev version, but it still breaks things.

fago’s picture

Status: Active » Fixed

I've just created BETA3.

willem77’s picture

I just uploaded Beta3 and it made no difference.

JeremyFrench’s picture

Using entity head with a clean install. Can enable entity API ok. On enabling some of the commerce modules which use entity this error occurs.

EDIT.
using head dosn't work but using the 7--1 branch does.

geerlingguy’s picture

Seems to be a problem for me too:

The website encountered an unexpected error. Please try again later.

Had to disable the module via the system table, and then clear all the cache tables.

fago’s picture

Have you updated with the update-manager? As of now, don't do so. There is non bug with it: #989670: Updating with the Update-manager fails

geerlingguy’s picture

Hmm... nevermind - my problem resided in rules.module: #997474: Add an upgrade path to d7

peijun’s picture

I fixed it by modifying modules/entity/entity/entity.controller.inc line # 342:

form: public function resetCache()
to: public function resetCache(array $ids = NULL).

It works!

podarok’s picture

can You provide a patch http://drupal.org/patch/create ?

fago’s picture

ehm, that's in beta3 - so why bother? If you running code that doesn't have that change, your update went wrong and you are running old code. -> See update issue.

peijun’s picture

StatusFileSize
new510 bytes

Hi all,

Here is the patch for drupal-7.0-rc2.

Have fun,

peijun

podarok’s picture

Status: Fixed » Needs review

Status: Needs review » Needs work

The last submitted patch, entity_controller.patch, failed testing.

bojanz’s picture

Status: Needs work » Fixed

See #13.

Status: Fixed » Closed (fixed)

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