WordPress.org

Ready to get started?Download WordPress

Forums

Bug Fix for 3.5.6: White Screen upon posting comment (3 posts)

  1. Sayontan Sinha
    Member
    Posted 4 years ago #

    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.

  2. Simon Prosser
    Theme Review Admin
    Posted 4 years ago #

    Update has now gone live.

  3. Sayontan Sinha
    Member
    Posted 4 years ago #

    Thanks, @pross!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags