Category Archives: Help

How to Troubleshoot WordPress

How to Troubleshoot WordPress

Over the years, we’ve developed a potent troubleshooting strategy for removing minor bottlenecks in WordPress. This also helps us deal with client issues and they too find it easy to learn. Our methods usually work fine with major WordPress crashes. These have been compiled from various WP communities and professionals.

The process

We isolate the numerous WordPress layers and focus on it. The components inside the layer are tested individually and removed one step at a time. Once solved, the next layer is approached in a similar fashion. This may be slow, but it is thorough and detailed in the way that it solves problems. Now, most of you will be asking which are the layers mentioned here.

The layers

  • Plugins
  • Theme
  • WordPress Core
  • Database

What you can fix with this methodology?

What you can fix with this methodology?

You can fix myriad issues using this technique. The most common issues which can be solved are:

  • White screen of death – Where nothing is seen except a white screen
  • Fatal Plugin errors
  • Header Already Sent
  • Out Of Memory errors
  • And Many More..

First Take a Backup

Even if the website is currently in a crashed state, it is prudent that you take a backup. You are about to start many steps that will make numerous changes to your website which means that you need to have a backup. With a good back up point, you can ensure that you can easily fall back to a position in case you make any mistakes. It also ensures that you don’t make situation any more worse.

Troubleshooting Plugins

Troubleshooting Plugins

We recommend you begin with plugin stage because it is observed that majority of the problems are caused due to plugin failures. Coding quality of the plugin is questionable but due to their functionality, they are usually chosen and their flaws ignored. When you add extensions to the plugins, you can create even more potent mixture of potential crashes.

Here’s how to fix plugins

Step 1 – Disable all plugins – Notice, if the problem has gone. If it has, you can systematically identify which plugin is causing the issue. Test the website after deactivating each plugin.

Step 2 – Re-activate the plugins in reverse order and see if the problem comes back. Identify the plugin causing issues and disable it.

Step 3 – Reactivate all the remaining plugins.

Sometimes, the issue is so drastic that you cannot even reach the disabled dashboard and keep getting an error message. Don’t worry, all is not lost. In such a case, connect to the website using FTP and locate the wp-content folder. Now, rename the plugin directory to plugins_wait. This will cause WP to skip and not run the plugins. Now, you can log in to the website and notice that it works fine when plugins are not running. Once in the dashboard, you can rename the directory back to plugins. Now the plugins will be available and you can start the above steps to identify the faulty one.

Troubleshooting WP Themes

Troubleshooting WP Themes

After ruling out the plugins, you should move to the theme as a potential troublemaker.

  • Disable the currently installed theme.
  • Now, a default theme should be activated for example: Twenty Ten.
  • Start testing. Most likely the problem will have vanished. If not, you should move to the core WordPress layer.
  • Also activate the plugins to make sure that it is not a composite problem.

Next step is to also check for any recent code additions. Revert back any new codes you might have added. Make sure that the newly added widgets are also working suitably. In case you cannot log in to the dashboard, apply the same FTP route as used for the plugin step above.

Fixing WordPress Core Files

Fixing WordPress Core Files

Next comes the WordPress core files. It is probably the least problematic area to be spending time on. Although safe, these files can be corrupted or even faulty that prevent them from functioning properly. The best way to fix core WordPress files is to re-install them. Here are the steps:

  • Download a clean WordPress version.
  • Connect to your website via FTP.
  • Wp-includes and wp-admin should be renamed to make sure the clean copies are uploaded.
  • Take a back up of wp-config.php to be safe. It contains database connection details.
  • Upload the WordPress clean version.
  • Now you can test if the issue is fixed. If yes, then issue at WordPress core level is fixed.
  • Re-activate your earlier theme and begin testing.
  • Re-activate the plugins and undertake their testing.

Fixing the Component

Fixing the Component

By now, the problematic component is isolated. Here’s what to do next:

  • Check for any updates to the plugin or see if they have support for the particular issue you are facing. You are likely to find suitable solutions over there.
  • Find a suitable replacement for the theme or plugin.
  • Find the exact solution at
  • Search for the answers on social media. Sometimes, it’s just as easy as sending a message to an expert.
  • If all else fails, hire a WordPress expert technical support team or a good WP consultant to solve your problems.

Final Words

Final Words

This method is most likely to resolve your issues on a daily basis. The key is to work through all the layers periodically and removing the problematic issues at each stage until the root cause is found. Remember to use this methodology in the step wise instructions as mentioned above.

Do you want to share any WordPress horror stories? Talk to our WordPress consultants today to look for appropriate solutions.

How to Avert Timeout in WordPress Waiting for Output through CGI Script?

In WordPress, wp-cron.php file is used as a means to automate scheduled tasks. It can be used to check theme/plugin updates, publish scheduled posts, manage email notifications etc.

As per default settings, WordPress automatically calls this file (wp-cron.php), every time a visitor comes to your website when any scheduled task is there. Its purpose is to inquire whether there is something to be done.

This is absolutely fine when the traffic is low. The low traffic ensures the file is not called multiple times. However, when the traffic increases substantially, the checking process is undertaken multiple times making it a resource heavy process. This can unnecessarily increase usage resource usage problems and even lead to server downtimes. No one likes a slow loading website.

How to Disable default wp-cron.php behavior

You can easily control the wp-cron.php file execution through the wp-config.php file. Here’s how:

  1. Open the wp-config.php file from the ‘cPanel File Manager Code Editor’.
  2. Now, move towards the bottom of the wp-config.php in the database settings.
  3. Most likely, you should look for line 37, where you have to add the below mentioned code:

define(‘DISABLE_WP_CRON’, ‘true’);

Manually Setting Up cron job for wp-cron.php

Now, you may leave WordPress with no ability to handle task automation wven when it needs to. With above change, WP won’t be running processes for every single visitor. Which means you can better regulate how and when the file will execute tasks.

As per our experience, most sites will be perfectly fine to run the process every 6-8 hours or so. This ensures that process is executed around 3-4 times in a day. That, when compared to earlier hundreds of process executions, means the resource usage is far less. Here’s how you can set the timing of process execution.

  1. Log into the cPanel with valid username and password.
  2. Go to the ‘Advanced section’ and enter the ‘Cron Jobs’ by clicking on it.
  3. First, choose ‘Once an hour’ under the drop down in ‘Common Settings’.
    Once An Hour
  4. Next, select ‘Every 6 hours’ further under the ‘Hour’ drop-down menu.
    Every 6 Hours
  5. In the end, enter the code to execute our cron job and create a new Cron Job by clicking on ‘Add New Cron Job’.
    • cd /home/userna5/public_html; php -q wp-cron.php
    • Note: Here, enter your cPanel user name in place of userna5


  6. Remember, that the /home/userna5/public_html is valid for your primary domain. In case, there is an additional domain, you will have to update the path in the sub-directory as well.

    For more tips on WordPress, keep visiting our resources section.

How to Install Plugins to WordPress CMS

No doubt, WordPress is the most popular CMS today. You can enhance the functionality of your blog or website with the help of these plugins. A WordPress plugin is an extra software code that helps you customize your website according to your business’s requirements. Webmasters can add video gallery, Facebook Fan Box, event calendar and more to your site.

Read more »

Iron Paper
Get A Quote
Thinking of creating a new website or website redesign?
Don't hesitate to contact us and discuss your project in detail.
Thank You. We will contact you as soon as possible.
Iron Paper
Contact Us
Thinking of creating a new website or website redesign?
Don't hesitate to contact us and discuss your project in detail.
Thank You. We will contact you as soon as possible.