{"issue":{"user":{"id":650066,"login":"senlin","url":"https://api.github.com/users/senlin","avatar_url":"https://secure.gravatar.com/avatar/34f970965936aa5ab87a8c8930308203?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"34f970965936aa5ab87a8c8930308203"},"milestone":null,"title":"4.0.2 gives white screen of death","created_at":"2011-12-21T08:33:14Z","labels":[],"updated_at":"2011-12-22T03:39:57Z","state":"open","id":2622753,"html_url":"https://github.com/rilwis/meta-box/issues/37","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"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.\r\n\r\nThe 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:\r\n// Include Metaboxes script\r\ninclude 'includes/sl_metaboxes.php';\r\n\r\nMy error log says the following:\r\n[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\r\n\r\nLine 145 calls this:\r\n143: // Register meta boxes\r\n144: foreach ( $meta_boxes as $meta_box ) {\r\n145: \tnew RW_Meta_Box( $meta_box );\r\n146: }\r\n\r\nNow 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.\r\n\r\nI 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.\r\n\r\nLooking forward to hear other experiences and hopefully a solution.\r\n\r\nThanks,\r\nPiet","number":37,"url":"https://api.github.com/repos/rilwis/meta-box/issues/37","comments":11,"assignee":null},"comment":{"user":{"id":668274,"login":"rilwis","url":"https://api.github.com/users/rilwis","avatar_url":"https://secure.gravatar.com/avatar/1448d087d72cfb8b32fdd72f881c03ad?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1448d087d72cfb8b32fdd72f881c03ad"},"created_at":"2011-12-22T03:39:57Z","updated_at":"2011-12-22T03:39:57Z","id":3243595,"body":"Do you mean the 4.0.1 version? From 4.0.1 to 4.0.2, there're some minor fixes for check box fields. If you're saying about version 3.2.2, then there're big changes in the code (refactor, re-format, etc.) but v3.2.2 still works well.","url":"https://api.github.com/repos/rilwis/meta-box/issues/comments/3243595"},"action":"created"}