add_theme_support( ‘admin-bar’ ) causes fatal error

Error 500 is very generic and can be caused by numerous underlying issues. Your first step should be locating error log for your hosting account or asking support to help with that.

My weak guess would be that your file gets created with file permissions that are not secure enough to hosting configuration.