I fixed this problem by using the method suggested by kurtiskronk. I opened up the “header-default.php” file in the “Header” folder, and replaced the line wp-login.php?action=logout
with wp-login.php?action=logout&_wpnonce=6baa6d3b28
.
Now it works for me! Give it a try!