I have installed and enabled boxes and views boxes and am seeing the following error attempting to view a spaces-enabled-user-profile: Fatal error: Call to undefined method stdClass::cache_setting() in C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module on line 103.

Visit to admin/modules to get version number I get these messages:

Notice: Undefined property: stdClass::$plugin_key in boxes_boxes_box_load_alter() (line 746 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$delta in boxes_box_load() (line 381 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$plugin_key in boxes_boxes_box_load_alter() (line 746 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$delta in boxes_box_load() (line 381 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$plugin_key in boxes_boxes_box_load_alter() (line 746 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$delta in boxes_box_load() (line 381 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$plugin_key in boxes_boxes_box_load_alter() (line 746 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$delta in boxes_box_load() (line 381 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$plugin_key in boxes_boxes_box_load_alter() (line 746 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$delta in boxes_box_load() (line 381 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$delta in boxes_block_info() (line 99 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$description in boxes_block_info() (line 99 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$delta in boxes_block_info() (line 101 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$plugin_key in boxes_block_info() (line 101 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined index: in boxes_block_info() (line 101 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).
Notice: Undefined property: stdClass::$delta in boxes_block_info() (line 103 of C:\vhosts\Drupal\drupal_3\sites\all\modules\boxes\boxes.module).

Getting the same message trying to create a new box...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lefnire’s picture

same issue for me, 7.x-1.x-dev 4/13/12

lefnire’s picture

If using spaces, a space will load all overridden boxes with a call to boxes_box_load($delta=NULL) (NULL to get all). If no $delta is provided, screws up boxes_boxes_box_load_alter(). Here's a patch for that particular problem.

I know I've hit this issue though outside of this context, there seems to be a few places this bug occurs. Will upload more patches as they come.

lefnire’s picture

(edit: comment posted twice for some reason)

jec006’s picture

Status: Active » Needs review
Issue tags: +D7 stable release blocker

Tagging as release blocker

e2thex’s picture

patch was at the wrong level

But have test and it worked

e2thex’s picture

Status: Needs review » Fixed

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