Steps to reproduce:
- Install boxes, create a box and enable the new block.
- Run update.php.
- 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.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | boxes.patch | 453 bytes | bastnic |
Comments
Comment #1
muriqui commentedFYI, 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.
Comment #2
lil.destro commentedGetting the same error here, once i flushed cache it was gone but am having to do that anytime i run module updates.
Comment #3
jnilles commentedFor 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.
Comment #4
tirdadc commentedI can't reproduce this with Ctools 1.0-rc1 and Boxes beta5. Can you try again after upgrading?
Comment #5
bastnic commentedIt seems that you need to add needed files in the boxes.info :
Comment #6
febbraro commentedThanks. http://drupalcode.org/project/boxes.git/commit/e8ab68ec8e623038eed47f324...