Try this
1) remove the changes from function.php - they are not needed
2) edit footer.php and change line 3 from
HTML Code:
if (!isset($bfa_ata))
to
HTML Code:
if ((!isset($bfa_ata)) or (class_exists('Woocommerce')) )
create a file 'sidebar.php' and put it in the theme folder and put this in it
HTML Code:
<?php
// ---------------------------------------------------------------------------
// dummy sidebar.php that calls get_footer() to handle oddity in Woommerce
//
// ---------------------------------------------------------------------------
get_footer();
?>
and see if that works.