Title: logout hook error
Last modified: August 31, 2016

---

# logout hook error

 *  Resolved [adithyah](https://wordpress.org/support/users/adithyah/)
 * (@adithyah)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/logout-hook-error/)
 * I am getting this error with my blog: Logout hook ERROR: 400 Client Error: Bad
   Request!
 * Today I did some changes with my blog;
 * 1) I deleted .maintenance file which was showing “Briefly Unavailable for Scheduled
   Maintenance” error while after updating some plugins.
 * 2) I Increased PHP Memory through wp-config.php file.
 * Which one of these are causing the Logout hook error?
 * Thanks!
 * [https://wordpress.org/plugins/wpclef/](https://wordpress.org/plugins/wpclef/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [inthylight](https://wordpress.org/support/users/inthylight/)
 * (@inthylight)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/logout-hook-error/#post-7230080)
 * Hello adithyah,
 * The 400 Bad Request error means that something on your web server or with your
   hosting environment such as a web application firewall, reverse proxy restriction,
   or plugin firewall is blocking the POST request from the Clef server (see [details here](http://support.getclef.com/article/41-how-to-fix-clef-logout-hook-errors#400)).
 * Based on your description I think the maintenance file might indicate you had
   your site in maintenance mode for a bit recently. Some maintenance mode plugins
   can block the logout hook pings and return the 400 error code.
 * If your site is now out of maintenance mode, and assuming you are finished updating
   everything, if the Clef logout is still not working, can you send a note to [support@getclef.com](https://wordpress.org/support/topic/logout-hook-error/support@getclef.com?output_format=md)
   with the URL of your site for follow up?
 * Also, you can [test your login hook](http://support.getclef.com/article/44-how-to-test-clef-logout-hooks)
   from the Clef user dashboard. If you see any error codes returned, you can check
   [this guide](http://support.getclef.com/article/41-how-to-fix-clef-logout-hook-errors)
   for suggested fixes.

Viewing 1 replies (of 1 total)

The topic ‘logout hook error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpclef_4ab6e4.svg)
 * [Clef Two-Factor Authentication](https://wordpress.org/plugins/wpclef/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpclef/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpclef/)
 * [Active Topics](https://wordpress.org/support/plugin/wpclef/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpclef/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpclef/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [inthylight](https://wordpress.org/support/users/inthylight/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/logout-hook-error/#post-7230080)
 * Status: resolved