Wordfence diagnostics

From Wordfence Documentation
Jump to: navigation, search

Diagnostics can be found on a tab of the Tools page on the Wordfence menu.

The Diagnostics page shows information that can be used for troubleshooting conflicts, configuration issues, or compatibility with other plugins, themes, or a host's environment.

The list of Cron Jobs shows you what jobs are scheduled to run in the WordPress wp-cron system. This is used for debugging and our support personnel may ask you to send them this information as part of a troubleshooting process. We show all scheduled jobs, not just jobs related to Wordfence.

Likewise, the list of Database Tables shows all of the database tables in your WordPress installation, from WordPress itself and all plugins.

Other Tests

Click to view your system's configuration in a new window

This link will show you the output of phpinfo(). If this page is blank, it likely means your web host has disabled the use of phpinfo(). You will then need to contact your web host to find out how PHP is configured on your site.

Test your WordPress host's available memory

This test will create a data structure that uses memory up to the limit set in "How much memory should Wordfence request when scanning" on the options page, to test if your web server allows you to allocate at least that much memory. If this test fails you should contact your hosting provider and ask them to allocate more memory to your WordPress server. Wordfence generally uses little memory during regular visits, but it requires more during scans, especially if your site has a lot of files, content, users, or other data.

This test may not work on all hosts, especially if they limit memory in a different way, aside from PHP's normal "memory_limit" option. Additionally, if the test shows your home page rather than the test results, this could be a sign of other limitations on the server, or a conflict with a theme or another plugin.

More details about memory issues can be found on our troubleshooting document here: PHP Fatal error: Allowed memory size? What does that mean?

Send a test email from this WordPress server to an email address

This is a way to test if email from your WordPress system is working. Enter your own email address and hit the send button. If you don't receive an email (and remember to check your spam folder) then log a support ticket with your hosting provider to investigate why your WordPress server is unable to successfully send email.

Send Report by Email

Click the "Send Report by Email" button to expand a form field where you can fill in an email address. This will send a full diagnostics report to the email you specified.

Firewall Rules

The Firewall rules are distributed to your local WordPress installation automatically. However, you can force a refresh of the rules by clicking this button.

Debugging Options

Enable debugging mode (increases database load)

This will enable verbose logging in Wordfence. A lot more will be written to the log which you can see on the 'Scan' page in the lower yellow box.

More of the additional activity written to the log can be seen when you perform a scan. However during many other operations we do additional logging if this option is enabled.

Note that when this option is enabled, a significant amount of additional data is written to the database, so it increases your site's database, network and CPU load significantly. We recommend you only enable this option for short periods of time (an hour at a time) while you are trying to solve a specific problem with Wordfence.

Start all scans remotely

Wordfence usually starts scans by having the server connect to itself to launch another long running web request which performs the scan. Some servers are unable to connect to themselves correctly so we have created a mechanism which causes your Wordfence installation to connect to our servers which then connect back to your servers to start the scan.

Note that this uses a secure token which prevents any user on the public Internet from starting a scan.

Enable this option if you are having trouble starting scans.

Enable SSL Verification

SSL verification should normally be enabled, but it can be disabled if you are consistently unable to connect to the Wordfence servers. You can see the status of your connection to Wordfence servers on the "Diagnostics" page in the section "Connectivity".

Enable beta threat defense feed

If you enable this option you will be participating in the group of users who get the beta version of the threat defense feed. This is not recommended for production sites, since beta signatures are not yet fully tested and can cause slow scans, scan failures, or false positives. This option has no effect unless a premium key is installed.