Title: danielbair's Replies | WordPress.org

---

# danielbair

  [  ](https://wordpress.org/support/users/danielbair/)

 *   [Profile](https://wordpress.org/support/users/danielbair/)
 *   [Topics Started](https://wordpress.org/support/users/danielbair/topics/)
 *   [Replies Created](https://wordpress.org/support/users/danielbair/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/danielbair/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/danielbair/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/danielbair/engagements/)
 *   [Favorites](https://wordpress.org/support/users/danielbair/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 37 total)

1 [2](https://wordpress.org/support/users/danielbair/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/danielbair/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/danielbair/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] WP CLI being blocked with http code 418](https://wordpress.org/support/topic/wp-cli-being-blocked-with-http-code-418/)
 *  Thread Starter [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/wp-cli-being-blocked-with-http-code-418/#post-14483054)
 * FYI, I setup a test WP install on my DreamHost server (they are aware of the 
   issue and have disabled update-verify package for now).
 * It was a clean basic WP default install. I then used wp-cli to force install 
   jetpack (without activating it) with no problems with update-verity. Then I used
   wp-cli to install better-wp-security and activate it with no problems. Then I
   tried to install force install jetpack again with wp-cli and then 418 is being
   thrown. This was true for attempts to install or update any other themes or plugins.
 * I did no setup for bettter-wp-security, only the default from activation.
 * I find it strange that there are no server logs for 418 on DreamHost. I have 
   some other websites on DreamHost and did find a couple of 418 in their error 
   logs, but not related to wp-cli or better-wp-security issues (blocked hack attempts).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] WP CLI being blocked with http code 418](https://wordpress.org/support/topic/wp-cli-being-blocked-with-http-code-418/)
 *  Thread Starter [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp-cli-being-blocked-with-http-code-418/#post-14478640)
 * See…
    [https://wordpress.stackexchange.com/questions/103089/why-better-wp-security-plugin-returns-418-im-a-teapot-error](https://wordpress.stackexchange.com/questions/103089/why-better-wp-security-plugin-returns-418-im-a-teapot-error)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] WP CLI being blocked with http code 418](https://wordpress.org/support/topic/wp-cli-being-blocked-with-http-code-418/)
 *  Thread Starter [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp-cli-being-blocked-with-http-code-418/#post-14478215)
 * Ok, I setup a test wp install and was able to discover that this problem only
   exists when the better-wp-security plugin is installed. I am able to use a local
   wp-cli workaround with update-verity disabled for now.
 * This may be an issue with DreamHost and mod_security that better-wp-security 
   is triggering, but there are no 418 error codes in the logs.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] WP CLI being blocked with http code 418](https://wordpress.org/support/topic/wp-cli-being-blocked-with-http-code-418/)
 *  Thread Starter [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp-cli-being-blocked-with-http-code-418/#post-14474469)
 * The mozilla developer article also says this:
    “Some websites use this response
   for requests they do not wish to handle, such as automated queries.”
 * Also, the 418 exception seems to be in the WP core files…
    “wp-includes/Requests/
   Exception/HTTP/418.php: * Exception for 418 I’m A Teapot responses”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kadence Security – Password, Two Factor Authentication, and Brute Force Protection] WP CLI being blocked with http code 418](https://wordpress.org/support/topic/wp-cli-being-blocked-with-http-code-418/)
 *  Thread Starter [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp-cli-being-blocked-with-http-code-418/#post-14474442)
 * The skip-plugins and skip-themes doesn’t help when I am trying to update plugins
   and themes.
 * Here is an example from one of my many sites (all are running iThemes security).
 *     ```
       wp plugin install jetpack --force --skip-plugins --skip-themes
       Installing Jetpack ? WP Security, Backup, Speed, & Growth (9.7)
       Fetching pre-update site response...
        -> HTTP status code: 418
        -> I'm a little teapot.
       Warning: Failed pre-update status code check (HTTP code 418).
       Error: No plugins installed.
       ```
   
 * Again I don’t get this problem when I attempt to update with InfiniteWP.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CleanTalk Anti-Spam. Spam Firewall & Bot protection] security patch](https://wordpress.org/support/topic/security-patch-2/)
 *  [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/security-patch-2/#post-14400687)
 * The versions indicated there is versions less than 5.153.4 and the current plugin
   version is 5.157.1 so the notice is outdated.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CleanTalk Anti-Spam. Spam Firewall & Bot protection] Vulnerability? Where’s the Update?](https://wordpress.org/support/topic/vulnerability-wheres-the-update/)
 *  [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/vulnerability-wheres-the-update/#post-14400681)
 * The WPE email provides a link to the vulnerability report, and the versions indicated
   there is versions less than 5.153.4 and the current plugin version is 5.157.1
   so the WPE notice is outdated.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Better Font Awesome] BFA 2 beta ready for testing. . . again!](https://wordpress.org/support/topic/bfa-2-beta-ready-for-testing-again/)
 *  [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/bfa-2-beta-ready-for-testing-again/#post-13488876)
 * Its working well for me. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Better Font Awesome] Seems to only be pulling 4.7 instead of 5.14 ?](https://wordpress.org/support/topic/seems-to-only-be-pulling-4-7-instead-of-5-14/)
 *  [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/seems-to-only-be-pulling-4-7-instead-of-5-14/#post-13488860)
 * I have the same problem. I looked at the code and it appears that this plugin
   is getting “all Font Awesome versions available from the jsDelivr API.”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CleanTalk Anti-Spam. Spam Firewall & Bot protection] Not working with “WooCommerce Login Popup and Shortcodes” plugin](https://wordpress.org/support/topic/not-working-with-woocommerce-login-popup-and-shortcodes-plugin/)
 *  Thread Starter [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/not-working-with-woocommerce-login-popup-and-shortcodes-plugin/#post-12142813)
 * YES!
 * It works now!
 * Error: *** Forbidden. Sender blacklisted. [stop_email@example.com](https://wordpress.org/support/users/danielbair/replies/stop_email@example.com?output_format=md):
   Mail domain for disposable e-mails. ***
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CleanTalk Anti-Spam. Spam Firewall & Bot protection] Not working with “WooCommerce Login Popup and Shortcodes” plugin](https://wordpress.org/support/topic/not-working-with-woocommerce-login-popup-and-shortcodes-plugin/)
 *  Thread Starter [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/not-working-with-woocommerce-login-popup-and-shortcodes-plugin/#post-12142405)
 * Would you kindly tell me what integration is required. I can edit the plugin 
   code and maintain the plugin myself.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CleanTalk Anti-Spam. Spam Firewall & Bot protection] Not working with “WooCommerce Login Popup and Shortcodes” plugin](https://wordpress.org/support/topic/not-working-with-woocommerce-login-popup-and-shortcodes-plugin/)
 *  Thread Starter [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/not-working-with-woocommerce-login-popup-and-shortcodes-plugin/#post-12142136)
 * On both the Cart page and Checkout page we have the plugin “WooCommerce Login
   Popup and Shortcodes” running on link “Click here to login (not required)”
 * When you click “Click here to login (not required)” the popup login modal pops
   up.
 * And when you click the register link in that modal, and enter a spam email address
   in the registration form and click register, clean talk spam filter doesn’t catch
   it.
 * But if I inspect that form in my browser, clean talk javascript event is attached
   to the plugin’s register form, and no-other javascript event is attached to that
   form.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CleanTalk Anti-Spam. Spam Firewall & Bot protection] Not working with “WooCommerce Login Popup and Shortcodes” plugin](https://wordpress.org/support/topic/not-working-with-woocommerce-login-popup-and-shortcodes-plugin/)
 *  Thread Starter [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/not-working-with-woocommerce-login-popup-and-shortcodes-plugin/#post-12141774)
 * Ok, it does catch registrations on the checkout page, but not on the cart page
   with the “WooCommerce Login Popup and Shortcodes” plugin.
 * I am testing in a separate private browser window which does not have an administrator
   logged in.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Showing and Sorting ‘Last Order’ on Users screen of Dashboard](https://wordpress.org/support/topic/showing-and-sorting-last-order-on-users-screen-of-dashboard/)
 *  [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/showing-and-sorting-last-order-on-users-screen-of-dashboard/#post-12135353)
 * Fixed this way…
 *     ```
       	if (is_bool($last_order_data) === false) {
       		$last_order = array('id' => $last_order_data->get_id(), 'date' => $last_order_data->get_date_created()->format('F m, Y') );
   
       		update_user_meta( $user_id, 'last_order_date', $last_order[date] );
       		update_user_meta( $user_id, 'last_order_id', $last_order[id] ); 
       	} else {
       		update_user_meta( $user_id, 'last_order_date', '' );
       		update_user_meta( $user_id, 'last_order_id', '' ); 
       	}
       ```
   
    -  This reply was modified 6 years, 8 months ago by [danielbair](https://wordpress.org/support/users/danielbair/).
    -  This reply was modified 6 years, 8 months ago by [danielbair](https://wordpress.org/support/users/danielbair/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Showing and Sorting ‘Last Order’ on Users screen of Dashboard](https://wordpress.org/support/topic/showing-and-sorting-last-order-on-users-screen-of-dashboard/)
 *  [danielbair](https://wordpress.org/support/users/danielbair/)
 * (@danielbair)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/showing-and-sorting-last-order-on-users-screen-of-dashboard/#post-12135336)
 * Check your error log…
 * PHP Fatal error: Uncaught Error: Call to a member function get_id() on bool in…
 * `$last_order = array('id' => $last_order_data->get_id(), 'date' => $last_order_data-
   >get_date_created()->format('F m, Y') );`
    -  This reply was modified 6 years, 8 months ago by [danielbair](https://wordpress.org/support/users/danielbair/).

Viewing 15 replies - 1 through 15 (of 37 total)

1 [2](https://wordpress.org/support/users/danielbair/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/danielbair/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/danielbair/replies/page/2/?output_format=md)