Steps to reproduce:

  1. Install boxes, create a box and enable the new block.
  2. Run update.php.
  3. Try to visit either admin/structure/block or any page on the site where the block created in step 1 appears.

Result: WSOD. PHP error log shows "Fatal error: Class 'boxes_box' not found in boxes.module" on either line 319 or 326 (depending on which page you hit in step 3). Both lines are within boxes_box_load(), as follows: $box = boxes_box::load($delta);. It seems that the plugin class hasn't been loaded as expected.

Workaround: Clear the site's cache. Everything is peachy again until the next time you run update.php, and then you get the WSOD again.

CommentFileSizeAuthor
#5 boxes.patch453 bytesbastnic

Comments

muriqui’s picture

FYI, this was previously reported in #1076456: Fatal error: Class 'boxes_box' not found in boxes.module on line 322, but subsequently closed by the person who entered the issue because they thought it was due to a bad symlink. Such was not the case in my test.

lil.destro’s picture

Getting the same error here, once i flushed cache it was gone but am having to do that anytime i run module updates.

jnilles’s picture

For what it's worth. It only seems to happen when there are no pending updates. That is, when I run the update script and it says "No pending updates." If there is an update and I apply it, I do not get the error.

tirdadc’s picture

Assigned: Unassigned » tirdadc
Status: Active » Postponed (maintainer needs more info)

I can't reproduce this with Ctools 1.0-rc1 and Boxes beta5. Can you try again after upgrading?

bastnic’s picture

StatusFileSize
new453 bytes

It seems that you need to add needed files in the boxes.info :

files[] = boxes.admin.inc
files[] = plugins/boxes_box.inc
files[] = plugins/boxes_simple.inc
files[] = plugins/spaces_controller_boxes.inc
files[] = tests/boxes.test
febbraro’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

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