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...
Comment | File | Size | Author |
---|---|---|---|
#5 | 1491518_boxes_stdclass_cache_setting.patch | 570 bytes | e2thex |
#3 | boxes_stdclass_cache_setting.patch | 594 bytes | lefnire |
#2 | boxes_stdclass_cache_setting.patch | 594 bytes | lefnire |
Comments
Comment #1
lefnire CreditAttribution: lefnire commentedsame issue for me, 7.x-1.x-dev 4/13/12
Comment #2
lefnire CreditAttribution: lefnire commentedIf 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.
Comment #3
lefnire CreditAttribution: lefnire commented(edit: comment posted twice for some reason)
Comment #4
jec006 CreditAttribution: jec006 commentedTagging as release blocker
Comment #5
e2thex CreditAttribution: e2thex commentedpatch was at the wrong level
But have test and it worked
Comment #6
e2thex CreditAttribution: e2thex commentedcommit
http://drupal.org/commitlog/commit/13110/f210ca7c3b2c40767e78b714e663fdd...
thanks lefnire