When I run update.php, I got follow errors:

* Warning: array_keys() expects parameter 1 to be array, null given in drupal_schema_fields_sql() (line 7016 of /includes/common.inc).
* Recoverable fatal error: Argument 2 passed to SelectQuery::fields() must be an array, null given, called in /includes/entity.inc on line 284 and defined in SelectQuery->fields() (line 1300 of /includes/database/select.inc).

Comments

bluewallmedia’s picture

I can confirm I got the same errors today when I tried the same update. I re-uploaded 7.x-2.x and it worked again. This error definitely took down my development site.

nwehner’s picture

I got very similar errors, and I'm running the latest Entity release so I thought this would go smoothly.

array_keys() expects parameter 1 to be array, null given common.inc:7074
in_array() expects parameter 2 to be array, null given entity.module:816
Missing database columns for the exportable entity invite_type as defined by entity_exportable_schema_fields(). Update the according module and run update.php! entity.module:817

Does this update only work with an old version of Entity?

nwehner’s picture

I just tried updating with both the latest dev releases of Entity and Invite, and I got a different error:

Fatal error: Class 'InviteTypeController' not found in common.inc on line 7854
Drush command terminated abnormally due to an unrecoverable error.
The external command could not be executed due to an application error.

atpaust’s picture

I get the same problem as #3 had, but with version 7.x-4.0-beta2

bluewallmedia’s picture

Issue summary: View changes

I am having similar issues as well. updating from 7.x-2.x to 7.x-4.x. Its taken down my dev site. Anyone had any luck with a fix for this ? I'll post what I can figure out.

cheers,

Peter

shawnmatthews’s picture

Has anyone made any progress on this? Is there an official upgrade method recommendation? I'm still getting site errors left and right while trying to move from 2.x to 4.x.

Best,
Shawn