One of the common WordPress error is the ‘connection timed out(ERR CONNECTION TIMED OUT)’ which is caused by an overburdened shared server. The main causes are heavy plugins, theme function issues, and exhausted PHP memory limit. One of these most common issues is WordPress Time-Out issue. When you are working on WordPress, it sometimes says ‘WordPress system is unavailable’ and you get a time-out message. Honestly speaking, this issue is irritating and may take some time to fix it. However, there are a number of good things you can do to prevent and fix it, if you still face, immediately.
Why ERR CONNECTION TIMED OUT Issue Occurs?
Before digging deep into the solutions, you should know why this time-out issue occurs. According to experts and developers, the problem appears when your websites tries to do more than your serve can manage. If you have shared hosting, this problem will not be new for you. Last but not the least most common reason told is limited memory. We hope you will manage to fix it with help of these easy-to-follow guidelines.
How to Fix It
This error can be fixed very easily in different ways:
First possibility is to increase the memory limit of PHP in wp-config.php. If you are using shared hosting you may have to ask your hosting provider to increase your memory limit. This allows you to run heavy plugins successfully.
The second way is to increase the maximum execution time in your php.ini file. However this is not a WordPress core file, so if you are not sure how to edit it, contact your hosting provider to increase your maximum execution time.
Another way is to first deactivate all the plugins and reactivate them one-by-one to see which plugin is causing the problem and then carefully remove the one that is causing the trouble.
The last method that you can adapt to resolve the problem is to switch to a default WordPress theme to identify if there is any problem caused by the theme.
After a comprehensive analysis of the user experiences and solutions submitted by experts regarding this issue, it was agreed that deactivate plugins. You need to deactivate all plugins until you find the one causing the very problem. When you will find that particular plugin, it will be solved hopefully as you deactivate the plugin.
Switch to Default WordPress Theme
This solution was listed as the most common way to resolve time-out issue. Every guy on a discussion forum was citing this way as their most-used and prompt solution for the very problem. Switching to default twenty fifteen theme will rule out all theme related issues.
Increase Memory Limit
This problem can also be fixed by increasing memory in php.ini file. When you are using shared hosting, you will need to communicate with your hosting service provider to get it increased. In case, you are allowed to increase your memory limit, adding this code define( ‘WP_MEMORY_LIMIT’, ’64M’ ); in your php.ini file will solve the problem.
Increase the Execution Time
As the issue talk about the time in connection, this is the first thing to verify. You should remember that WordPress can’t add php.ini file to your blog and the only solution is contacting your hosting company. They will make changes as per the need. In the event you have permission to edit its content, this code max_execution_time = 60 ; will work for you.
Temporarily disable your firewall and antivirus software
Your firewall and antivirus software protect your system from malicious attacks by performing regular scans and blocking any activity that seems suspicious. But sometimes, your firewall and antivirus take their jobs a bit too seriously, and they end up blocking pages and content that are completely safe. When this happens, you’ll see the err_connection_timed_out message.
If you’re absolutely certain that the site you’re trying to visit is safe, you can fix this problem by temporarily disabling your firewall and antivirus software, then reloading the webpage. If you’re no longer seeing the error message, you’ll know for sure that your firewall and antivirus software were causing the problem.
Be sure to switch them back on once you’re finished browsing the website! If you forget to do this, you’ll leave your device vulnerable to malicious attacks.