Viewing 1 to 10 of 36 items
Archive | Troubleshooting RSS feed for this section

WP_HTTP_BLOCK_EXTERNAL & WP_ACCESSIBLE_HOSTS

Setting the WP_HTTP_BLOCK_EXTERNAL constant to true in your wp-config.php file will stop all outgoing network requests from your site. This is typically set on sites that are sitting behind a closed environment. However, having this set is problematic when performing migrations using WP Migrate DB Pro or allow updates for WordPress: Using WP_ACCESSIBLE_HOSTS you can set  Full Article…

0

Fix – Methods with the same name as their class

PHP4-style constructors still work on PHP7, they are just been deprecated and they will trigger a Deprecated warning. What you can do is define a __construct method, even an empty one, so that the php4-constructor method won’t be called on a newly-created instance of the class. Change to:

0