Debug info and PHP settings

In this article you can learn how to find information about your server setup and how to tweak it.

Enable debugging

To debug any issue with WordPress you need to enable WordPress debug mode temporarily first to see if there are any PHP errors or warnings displayed. The error information should lead you to the source of the issue.

Debug with plugin

You can install and active Health Check & Troubleshooting plugin to display all the necessary debug information, like the PHP version you are using on your server and PHP settings. You can also use this plugin to troubleshoot your website issues with ease.

Using old PHP

If you are using old PHP version, please upgrade it. (Check WordPress requirements page.)

Tweak PHP settings

In some cases, to properly debug an issue on your website, you need to determine and possibly change the PHP settings of your server.

Check out the values of the PHP settings below. There is no prescribed rule for how you should set these values, and below is a recommendation only.

To set these values you might need to contact your hosting company to assist you (read the 3rd party tutorial).

  • memory_limit
    Try rising it to at least 96M.
  • post_max_size
    This could affect your theme/plugin/WordPress settings saving. There is no bullet-proof value here. Try rising it to 96M.
  • max_input_vars
    This is usually set up to value of 1000, which is perfectly fine in most cases. However, if you are dealing with long complicated menus (Important: theme demo data usually contains such long menus!), you should rise this value to, let’s say, 2000. This is due to WordPress menu item limit issue.
  • max_execution_time
    This is usually set up to value of 30, which is perfectly fine in most cases. Rarely you may need to rise this value.

Other PHP settings should be fine.

All of the above tips should help you debug your website issues. For further assistance, please provide outcome of the above steps in your support ticket description (or reply).