Downloaded the latest 1.x-dev entity_boxes. Trying to enable the module results in the error:

PHP Fatal error:  Class name must be a valid object or a string in /opt/development/dhs_gov/int/drupal/includes/common.inc on line 7651
Drush command terminated abnormally due to an unrecoverable error.                                           [error]
Error: Class name must be a valid object or a string in
/opt/development/dhs_gov/int/drupal/includes/common.inc, line 7651

Patch forthcoming...

Comments

mpotter’s picture

Need to clear the static cache in the install file. Here is the patch.

mpotter’s picture

Status: Active » Needs review
mpotter’s picture

OK, so that didn't work properly. It avoided the errors when enabling the module, but then broke other aspects of the module.

Here is a better patch that avoids the original issue by clearing the cache in the ctools plugin. Failed to find any if statement to wrap it with that didn't cause infinite loops. But since the entity_boxes_boxes_plugins is only called once after a cache clear anyway, we essentially are just forcing some other caches to be cleared/rebuilt earlier in the chain.

mpotter’s picture

#3 still caused an error upon initial installation. Here is one that seems to finally work. Tested on raw install as well as enable/disable on existing site.

jec006’s picture

Status: Needs review » Fixed

This is already committed.

Status: Fixed » Closed (fixed)

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