WordPress.org

Support

Support » Themes and Templates » Bug Fix for 3.5.6: White Screen upon posting comment

Bug Fix for 3.5.6: White Screen upon posting comment

  • Hi,
    A user reported a bug which occurs when you submit a comment for Suffusion’s latest version (3.5.6), which results in a white screen. I tracked down the bug and here is the fix:

    1. Open the file comments.php. Look for these lines near the top of the file:
      global $suffusion_unified_options, $post;
         foreach ($suffusion_unified_options as $id => $value) {
            $$id = $value;
         }
    2. Either comment or delete the above block of code
    3. Put this in its place:
      global $options, $suffusion_options, $post;
      	foreach ($options as $value) {
      		if (isset($value['id']) && isset($value['std'])) {
      			if (!isset($suffusion_options[$value['id']])) {
      				$$value['id'] = $value['std'];
      			}
      			else {
      				$$value['id'] = $suffusion_options[$value['id']];
      			}
      		}
      	}

    This should work. I am submitting a fix for this as version 3.5.7 in the meanwhile.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug Fix for 3.5.6: White Screen upon posting comment’ is closed to new replies.