wp_logout_url($redirect) won’t logout and redirect ()

You shouldn’t be echoing anything directly from your functions.php. Doing so will prevent redirects.

Remove line 226 and you should be good to go. You might want to replace that whole remove_admin_bar with something better coded (or a plugin even).

tech