Title: Barry's Replies | WordPress.org

---

# Barry

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Native IPv6 Support for api.wordpress.org](https://wordpress.org/support/topic/native-ipv6-support-for-api-wordpress-org/)
 *  [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/native-ipv6-support-for-api-wordpress-org/#post-18642694)
 * Please see the [Meta Trac ticket](https://meta.trac.wordpress.org/ticket/3090#comment:26)
   for the latest updates. v6 connectivity is now enabled for the most important
   WordPress.org services.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Request to unblock my IP address](https://wordpress.org/support/topic/request-to-unblock-my-ip-address/)
 *  [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/request-to-unblock-my-ip-address/#post-18072629)
 * If you provide the IP of your VPS we can take a look.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] If I convert my site’s language, the firewall will block it from working.](https://wordpress.org/support/topic/if-you-convert-my-sites-language-the-firewall-will-block-it-from-working/)
 *  [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/if-you-convert-my-sites-language-the-firewall-will-block-it-from-working/#post-15497526)
 * You’re welcome and same to you! If there is anything else I can do to help, please
   let me know 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Translate Wordpress with GTranslate] If I convert my site’s language, the firewall will block it from working.](https://wordpress.org/support/topic/if-you-convert-my-sites-language-the-firewall-will-block-it-from-working/)
 *  [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/if-you-convert-my-sites-language-the-firewall-will-block-it-from-working/#post-15497518)
 * This particular error seems to come from the [WP Remote plugin](https://plugins.trac.wordpress.org/browser/wpremote/trunk/protect/fw/fw.php#L214).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Jetpack Image CDN Not Loading in EU/UK](https://wordpress.org/support/topic/jetpack-image-cdn-not-loading-in-eu-uk/)
 *  Plugin Contributor [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/jetpack-image-cdn-not-loading-in-eu-uk/#post-14843853)
 * > There does not appear to be anything we can do on our end.
 * It appears your Cloudflare configuration is returning a 403 Forbidden response
   and captcha challenge when the Jetpack CDN requests the image from your server.
   Please be sure that you have added all Jetpack IP ranges to your Cloudflare allow
   list. You can find them [here](https://jetpack.com/support/hosting-faq/). Specifically,
   in this case it looks like `195.234.108.0/22` is being blocked. Hope this helps.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Remote server returned an unexpected status code (400)](https://wordpress.org/support/topic/remote-server-returned-an-unexpected-status-code-400/)
 *  Plugin Contributor [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/remote-server-returned-an-unexpected-status-code-400/#post-11288069)
 * It looks like you (or your hosting provider) is blocking some Photon IPs which
   is causing some requests to fail and return a 400 error as a result.
 * As an example, I can see from our side that `195.234.109.64` is blocked but `
   195.234.109.4` is not.
 * If you have additional questions or need more info it’s probably best to contact
   our support via [https://jetpack.com/contact-support/](https://jetpack.com/contact-support/)
   to sort out the problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YouTube for WordPress] PHP7+ compatibility](https://wordpress.org/support/topic/php7-compatibility-102/)
 *  [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php7-compatibility-102/#post-11096614)
 * Hi [@eherman24](https://wordpress.org/support/users/eherman24/) ! There is a 
   fatal error in >= PHP 7.1 that is pretty simple to fix:
 * `Cannot unset $this in wp-content/plugins/wp2yt-uploader/classes/class.youtube-
   for-wordpress.php on line 32`
 * This is because of the “Do not call destructors on incomplete objects” change
   mentioned [here](http://php.net/manual/en/migration71.incompatible.php)
 * I think just removing the entire `__destruct` function should be fine in this
   case. Do you think you could commit a fix and release an update? Otherwise I 
   would be happy to do it if you grant me commit access.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Plugin update & install error](https://wordpress.org/support/topic/plugin-update-install-error/)
 *  [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/plugin-update-install-error/#post-9906052)
 * For anyone experiencing these issues – if you have SSH access to the server where
   your site is hosted could you ping me on WordPress.org Slack to troubleshoot?
   If not, could you ask your hosting company to contact me directly? Email: barry[
   at] automattic.com or [@barry](https://wordpress.org/support/users/barry/) on
   Slack.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HyperDB] Enable MySL Client Flags?](https://wordpress.org/support/topic/enable-mysl-client-flags/)
 *  Plugin Author [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/enable-mysl-client-flags/#post-9773505)
 * Sorry about that. Should be fixed now. Please try the latest version (same URL
   as before).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HyperDB] Enable MySL Client Flags?](https://wordpress.org/support/topic/enable-mysl-client-flags/)
 *  Plugin Author [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/enable-mysl-client-flags/#post-9764818)
 * Hi,
 * I added support for `MYSQL_CLIENT_FLAGS` to HyperDB. Can you please try the development
   version [here](https://plugins.svn.wordpress.org/hyperdb/trunk/db.php) and let
   me know if it works for you?
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HyperDB] Multisite blog tables](https://wordpress.org/support/topic/multisite-blog-tables/)
 *  Plugin Author [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/multisite-blog-tables/#post-9675713)
 * How about this?
 * `
    if ( preg_match('/^' . $wpdb->base_prefix . '\d+_/i', $wpdb->table ) ) return'
   blog';
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HyperDB] Selects going to Master DB – 4.8.2](https://wordpress.org/support/topic/selects-going-to-master-db-4-8-2/)
 *  Plugin Author [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/selects-going-to-master-db-4-8-2/#post-9645630)
 * > Any idea why we’d be getting select queries to our master DB?
 * There are a few reasons this could happen.
 * 1. Whe most obvious one is that the read priority for the master is set to something
   > 0. What do you have the read priority set to in your configuration?
 * 2. HyperDB sends reads to the master for a given table on a single pageload if
   there was an update to that table on the same pageload. So for example, if you
   UPDATE wp_options and then SELECT from wp_options 10 times on the same page, 
   those 10 SELECTs would go to the master, even if the read priority is set to 
   0. This is because it’s very likely the latest changes haven’t been replicated
   if you are using asynchronous (the default) replication in MariaDB. If you’re
   interested how this part of the code works, look for where `$this->srtm` is set
   to true in the HyperDB source code.
 * 3. Your code is explicitly setting `$this->srtm` to true either by calling `send_reads_to_masters()`
   or some other way.
 * Hope this is helpful, let us know what you find after reviewing your configuration
   and code.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HyperDB] The plugin hyperdb/db.php has been deactivated…](https://wordpress.org/support/topic/the-plugin-hyperdb-db-php-has-been-deactivated/)
 *  Plugin Author [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/the-plugin-hyperdb-db-php-has-been-deactivated/#post-9623450)
 * Hey [@scollonp](https://wordpress.org/support/users/scollonp/) – great to hear
   about how you are using HyperDB and glad that it’s working for you. Your proposal
   of not installing the plugin to `wp-content/plugins/` and just copying it to `
   wp-content/` with your bash script seems reasonable. Since it’s not a normal 
   plugin it shouldn’t ever really be in `wp-content/plugins/`. That being said,
   I think the warning message you originally asked about is only shown once when
   visiting the plugins page for the first time after HyperDB was moved out. Subsequent
   visits to the page shouldn’t show this message. If you don’t mind the error appearing
   once, then I think your current process is fine and you can safely ignore the
   message. Hope this helps! If you have any other questions, please let us know.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HyperDB] Low adoption + not compatible with v4.6?](https://wordpress.org/support/topic/low-adoption-not-compatible-with-v4-6/)
 *  Plugin Author [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/low-adoption-not-compatible-with-v4-6/#post-9620236)
 * HyperDB works will with the latest version of WordPress. I have updated the plugin
   page to reflect that.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HyperDB] The plugin hyperdb/db.php has been deactivated…](https://wordpress.org/support/topic/the-plugin-hyperdb-db-php-has-been-deactivated/)
 *  Plugin Author [Barry](https://wordpress.org/support/users/barry/)
 * (@barry)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/the-plugin-hyperdb-db-php-has-been-deactivated/#post-9620227)
 * In general, the error message is probably ok, although it sounds like HyperDB
   may not have been successfully installed previously.
 * HyperDB isn’t a normal WordPress plugin – it shouldn’t be installed in your plugins
   directory. It is a special type of plugin called a “drop-in”. From the HyperDB
   readme –
 * > 3. Deploy `db.php` to the `/wp-content/` directory. Simply placing this file
   activates it. To deactivate it, move it from that location or move the config
   file.
 * Do you receive this error when moving <code<>db.php out of `/wp-content/` or 
   somewhere else?
    -  This reply was modified 8 years, 6 months ago by [Barry](https://wordpress.org/support/users/barry/).

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

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