I'm just backing up a clients via ftp site prior to working on it, when suddenly all urls are returning an error page with the header status being 418.

A quick Google finds that this was created for an April Fools joke. Does any body have any idea why I would be getting this error?

closed as too localized by Michael, fuxia Jun 5 '13 at 11:43

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Probably a plugin. Search in all files for that number. – fuxia Jun 5 '13 at 9:41

You were right Toscho, it is a plugin called 'better WP-Security'

I did a search for '418' as suggested in the files I had backed up via ftp and found this:

$bwpsmemlimit = (int) ini_get( 'memory_limit' ) 

//if they're locked out or banned die
if ( ( $bwpsoptions['id_enabled'] == 1 ||$bwpsoptions['ll_enabled'] == 1 ) && $this->checklock( $current_user->user_login ) ) {

@header( 'HTTP/1.0 418 I\'m a teapot' );
@header( 'Cache-Control: no-cache, must-revalidate' ); 
@header( 'Expires: Thu, 22 Jun 1978 00:28:00 GMT' );
die( __( 'error', $this->hook ) );


So I presume as because I was backing up the site via ftp, the security plugin must have locked me out due to so much traffic. After 10 mins I could get back on the site again.

Not the answer you're looking for? Browse other questions tagged or ask your own question.