rilwis/meta-box — Issue #37: 4.0.2 gives white screen of death
Author: senlin
Created: 2011-12-21 08:33:14+00:00
State: open

Just updated to version 4.0.2 and unfortunately that gave me the white screen of death. Reverting back to 4.0.1 didn't solve it however and deleting the plugin also didn't help.

The only thing that worked, was to delete the demo.php from my theme. I have given this demo.php file a different name (sl_metaboxes.php) and added it to the includes folder of my theme. In my functions.php file I have called it as:
// Include Metaboxes script
include 'includes/sl_metaboxes.php';

My error log says the following:
[21-Dec-2011 07:48:48] PHP Fatal error: Class 'RW_Meta_Box' not found in /.../.../public_html/domain/wp-content/themes/salt2011/includes/sl_metaboxes.php on line 145

Line 145 calls this:
143: // Register meta boxes
144: foreach ( $meta_boxes as $meta_box ) {
145:	new RW_Meta_Box( $meta_box );
146: }

Now what I don't understand is that version 4.0.1 worked with my setup, but after updating to 4.0.2 and then downgrading back to 4.0.1 it doesn't work anymore.

I have temporarily deleted the sl_metaboxes.php file, but if we cannot find a solution soon, I will have to revert back to the old hard-coded script instead of the plugin.

Looking forward to hear other experiences and hopefully a solution.

Thanks,
Piet