Risk Free, Backed By Our 90-Day Money Back Guarantee
 - 
Read More
Lifetime Licenses Are Ending Soon, Get Yours Before They're Gone
 - 
Read More
Risk Free, Backed By Our 90-Day Money Back Guarantee
Pricing

You may have seen some references on our site to annual licensing or renewals.

All plugins currently come with a lifetime license, no matter what the site says.

We’re currently running tests before we make the switch to annual pricing. Check the Discounts tab to purchase our other plugins and get a lifetime license before they’re gone.

I Understand I Have a Lifetime License
Now is your last chance to buy a lifetime license before we switch to annual pricing. Existing licenses will be unaffected.
Read More
200,000+ Active Installs
1500+ 5 Star Reviews
Pricing
Now is your last chance to buy a lifetime license before we switch to annual pricing. Existing licenses will be unaffected.
Read More
200,000+ Active Installs
1500+ 5 Star Reviews
Pricing

WordPress Error Logs: How to Find and View Them

A random error that slows down or completely crashes your site is every WordPress user’s nightmare.

And when you can’t figure out the cause of the error easily, it can be rather frustrating. Your site’s performance, user experience, functionality, and even SEO ranking all tank if the error stays unresolved.

This guide will show you how to find and view WordPress error logs so you can quickly troubleshoot and fix those annoying errors when they appear.

Table of Contents

Why Are WordPress Error Logs Important?

A WordPress error log is a text file that records all the errors happening behind the scenes on your website. It includes details such as the error message, timestamps for when the error occurred, the line of code where the error happened, and the full path of the file containing the error. 

WordPress error logs make troubleshooting your website much easier. It doesn’t matter whether it’s an issue with your theme, plugin incompatibility, or custom code conflicts; everything is captured in the log. They’re especially helpful when you get locked out of your site or see the white screen of death, and you have no clue what may have caused the error.

By accessing the WordPress error logs, you can view all the details about the errors on your site, quickly identify the cause of the problem, and make an informed fix.

So, how do you find and view your WordPress error logs? Let’s take a look at the available options so you can choose the best one for you!

How To Find and View WordPress Error Logs (2 Methods)

By default, your WordPress site does not store error logs. While this feature exists, it is disabled to optimize your server's resource usage and minimize security risks associated with sensitive information being exposed. As a result, the information you need to troubleshoot an error on your site is not always readily available.

However, when you need to, you do have options for finding and viewing WordPress error logs. There are two main ways to do so, and we'll start with the easiest plugin-based approach first, then cover the manual method for those who prefer it.

Method 1: Using WP Debug Toolkit Plugin (Recommended)

If you want to avoid the complexities and risks that come with editing code, using a WordPress error log plugin is your best bet.

WP Debug Toolkit is the most user-friendly option for finding and viewing WordPress error logs. It lets you enable debug mode with a single click and provides a modern interface that makes debugging simple for users at all skill levels.

Let’s take a closer look at some of the features that this WordPress error logging plugin offers and see how to set it up and use it for easier debugging.

Why WP Debug Toolkit Makes Error Debugging Simple

WP Debug Toolkit is a modern WordPress error log viewer plugin that streamlines the debugging process.

It provides a sleek and user-friendly interface that lets you view all PHP and WordPress errors in real-time, without requiring SSH or FTP access. 

One of its key features is the standalone Viewer App that allows you to keep track of errors on your WordPress site, even if it crashes entirely or you are locked out of your admin dashboard.

Other exciting features you get with the plugin include:

  • Flexible filters that make it easy to search through logs and find precisely what you’re looking for.
  • Error highlighting that makes identifying errors easier, so you can fix bugs faster.
  • Keyboard shortcuts to navigate the app seamlessly if you’d rather not have to click so much while debugging.
  • Integrated file viewer that lets you see the full context of an error, i.e., the exact file where the error occurred, what called it, etc.
  • A crash recovery system that allows you to quickly disable all plugins and themes in a single click to recover your site when it crashes, and more.

How To Set Up and Use WP Debug Toolkit 

Setting up and using WP Debug Toolkit is easy and safe. Here’s how to do it:

  • Install and activate the WP Debug Toolkit plugin: First, you’d need to purchase and download the plugin file. Then, in your WordPress dashboard, go to Plugins › Add Plugin › Upload Plugin › Choose file › Install Now › Activate Plugin. The plugin will immediately be activated on your site.
Installing & Activating WordPress Debug Toolkit Plugin
  • Navigate to Debug Toolkit to set up your debugging environment: From the WordPress admin menu, select Debug Toolkit to open the setup page. First, activate your installation by clicking License on the menu and entering your license key. 
WP Debug Toolkit License Activation for WordPress Error Logs
  • Next, go back to the Overview page to complete the setup of your debugging environment. WordPress Debug Mode and Error Logging should be enabled. Afterward, click Install Viewer to install the Log Viewer.
WP Debug Toolkit WordPress Error Log Viewer Installation
  • Once the installation completes, click Open Viewer (or press O on your keyboard). This opens a user and developer-friendly viewer app that displays your WordPress error logs.
WP Debug Toolkit Log Viewer
  • From the app, you can view details about each error, search for specific strings across all log entries, filter the logs by error level, time period, or source, download the logs, access the crash recovery feature, and more!

Method 2: Using Code To Enable WordPress Error Logs in wp-config.php and Downloading the Files via FTP

If you're comfortable with code and prefer not to use a plugin, you can manually enable debug mode using the method below. However, this approach requires editing WordPress core files and accessing files via FTP.

That said, to enable and view WordPress error logs using this method, you will need to follow two steps:

Step 1: Enable Debugging Mode and Error Logging in wp-config.php

To enable debugging mode and WordPress error logging, you can directly edit your site’s wp-config.php file from the control panel provided by your hosting service provider. Alternatively, you can access the file using an FTP client, such as FileZilla or Cyberduck.

The wp-config.php file can be found in your site’s root directory (/public_html/).

Editing WordPress Error Logs in the WP-Config.php File

If you’re making changes from your cPanel, right-click on the file and then click Edit to reveal the built-in text editor.

First, search for “WP_DEBUG” in the code. You can easily find it by pressing the CTRL + F (PC) or CMD + F (Mac) shortcut keys. 

If it exists, simply change its assigned value from “false” to “true” to enable WordPress debug mode.

If, however, the search doesn’t return any results, look for the line that reads /* That's all, stop editing! Happy publishing. */

Right above it, paste the following code:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

This immediately enables WordPress debug mode, allowing error logs to be generated. 

The “WP_DEBUG_DISPLAY” code is included to prevent WordPress from displaying error descriptions to your site visitors. Its value should ideally always be “false”.

Once you’ve made the edits, hit the save icon to proceed.

Step 2: Access and View WordPress Error Log Files via FTP

With debug mode enabled, you now need to reproduce the issue on your site so that WordPress error logs can be generated. Without doing this, your log file will be empty with no information to work with.

So, for example, if a specific plugin is causing issues on your website, you simply need to reactivate it so that the error is logged.

Once data is added to the debug.log file, you can access and view it via FTP.

Connect your site using your preferred FTP client. Next, open /public_html/ › /wp-content/, and scroll down to find the debug.log file.

Debug.log File Within the WordPress Site Root Folder

Right-click on the file to see options to download, view, or edit it. Choose the best option for your needs, and you should see details about all the errors logged on your site.

WordPress Error Logs in a TXT File

Using this information, you can now address the issues on your site with confidence. 

Remember to turn off debug mode once you’ve resolved the errors. This is important so you don’t unintentionally slow down your site or compromise its security.

To disable it, just go back to the wp-config.php file and change the values for the code you added from “true” to “false”.

Wrap-Up: Easily Find and View WordPress Error Logs 

Troubleshooting issues on your WordPress site is easy when you have the right tools to find and view error logs.

WP Debug Toolkit is the fastest and most user-friendly solution for most WordPress users. It eliminates the need for code editing and FTP access, letting you enable debug mode with one click and view errors through a clean, searchable interface. It comes with a built-in filtering feature, error-highlighting capabilities, an independent viewer app, a crash recovery system, and more, making it the better option for easily finding and viewing WordPress error logs.

The manual method of editing wp-config.php and accessing logs via FTP still works if you're comfortable with code and only need occasional debugging. However, it requires more technical steps and doesn't offer the advanced features that make WP Debug Toolkit so efficient.

WordPress Error Logs – Frequently Asked Questions

1. How do I see error logs in WordPress?

The easiest way is to use the WP Debug Toolkit plugin. You can install the plugin, activate debug mode with one click, and view all errors through the built-in log viewer. Alternatively, you can manually enable debug mode by adding code to your wp-config.php file and accessing the debug.log file via FTP.

2. How to debug a WordPress error?

You can debug a WordPress error with the WP Debug Toolkit plugin. Once you have installed and activated the WordPress error logging plugin on your website, simply install and open the Log Viewer app. You will see a list of all your WordPress error logs, with tools to search or filter through the code to quickly locate and fix any specific error.

3. How to check fatal error in WordPress?

A convenient way to check for fatal errors in WordPress is by using the WP Debug Toolkit plugin. Its user-friendly log viewer enables you to filter errors by levels, such as Notice, Warning, Fatal, Parse, and Error. This makes finding fatal errors on your site quick and easy.

4. How do I clear error logs in WordPress?

WordPress Debug Toolkit simplifies clearing WordPress error logs. After installing and activating the plugin on your site, go to Debug Toolkit › Open Viewer to access the log viewer interface. In the top right corner, you'll find the option to Clear Logs. Click it to delete your site’s error logs.

The best import export plugin for WordPress & WooCommerce.

Complete, granular control of your data with an easy to use drag & drop interface.
  • 90 Day Money Back Guarantee
  • Unlimited Installs
  • Lifetime Licence
  • Fast, World-Class Support
Get Started
90 Day Money Back Guarantee

Unlimited Installs.
World-Class Support. Money Back Guarantee.

Packages
Standalone
Import
Pro Package
$199
.00
/yr
Save $494, 71% Discount
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
$693 If Purchased Individually
Buy Now
90 Day Money Back Guarantee
Import + Export Pro Package
$299
.00
/yr
Save $1087, 78% Discount
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
$1386 If Purchased Individually
Buy Now
90 Day Money Back Guarantee
WooCommerce Import Package
$169
.00
/yr
Save $29, 15% Discount
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
$198 If Purchased Individually
Buy Now
90 Day Money Back Guarantee
Lifetime License
$1299
One-Time Payment
  • Import Pro + Export Pro
  • All Current Add-Ons
  • All Future Add-Ons
  • Lifetime Support
  • Lifetime Updates
  • No Renewal Fees
Buy Now
90 Day Money Back Guarantee
Import Standalone
$99
.00
/yr
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
Buy Now
90 Day Money Back Guarantee
Import + Export Standalone
$169
.00
/yr
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
Buy Now
90 Day Money Back Guarantee
Export Standalone
$99
.00
/yr
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
Buy Now
90 Day Money Back Guarantee
Packages
Standalone
Import
Pro Package
$16.58
per month, billed annually
Save $494/yr, 71% Discount
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
$693/yr If Purchased Individually
Buy Now
90 Day Money Back Guarantee
Import + Export Pro Package
$24.92
per month, billed annually
Save $1087/yr, 78% Discount
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
$1386/yr If Purchased Individually
Buy Now
90 Day Money Back Guarantee
WooCommerce Import Package
$14.08
per month, billed annually
Save $29/yr, 15% Discount
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
$198/yr If Purchased Individually
Buy Now
90 Day Money Back Guarantee
Lifetime License
$1399
One-Time Payment
  • Import Pro + Export Pro
  • All Current Add-Ons
  • All Future Add-Ons
  • Lifetime Support
  • Lifetime Updates
  • No Renewal Fees
Buy Now
90 Day Money Back Guarantee
Import Standalone
$8.25
per month, billed annually
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
Buy Now
90 Day Money Back Guarantee
Import + Export Standalone
$14.08
per month, billed annually
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
Buy Now
90 Day Money Back Guarantee
Export Standalone
$8.25
per month, billed annually
  • Import Pro
Import Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
  • Export Pro
Export Add-Ons
  • Woo
  • ACF
  • Meta Box
  • JetEngine
  • Gravity Forms
  • Users
Buy Now
90 Day Money Back Guarantee

Unlimited Installs.
World-Class Support. Money Back Guarantee.

Developer
Pro features to get your WordPress data moving
Normally $299/yr
$149
.00
/yr
Save $150
Import & Export Pro
  • Posts Types, Pages & Taxonomies
  • Custom Fields & Meta Support
  • WordPress Users Support
  • Gravity Forms Entries
  • Developer Tools
  • Pro Settings
  • See detailed list of features
    Buy Now
    90 Day Money Back Guarantee
    Professional
    Everything you need to import and export anything
    Normally $599/yr
    $299
    .00
    /yr
    Save $300
    All Features & Integrations
  • WooCommerce
  • Bulk Editing & Data Migration
  • Advanced Custom Fields
  • JetEngine
  • Meta Box
  • Manual Scheduling
  • See detailed list of features
    Buy Now
    90 Day Money Back Guarantee
    Unlimited Lifetime
    All features and integrations forever for unlimited sites
    Normally $1599
    $1299
    .00
    once
    Limited-Time Offer
    ONE-TIME PAYMENT 
  • Import Pro + Export Pro
  • All Current Features & Integrations
  • All Future Features & Integrations
  • Lifetime Updates
  • Lifetime Support
  • No Renewal Fees
  • See detailed list of features
    Buy Now
    90 Day Money Back Guarantee

    Risk Free with our Money-Back Guarantee

    We would love for you to try WP All Import. Our 90-day money-back guarantee means that if you decide our plugins don’t meet your needs, just let us know, and we’ll gladly give you a full refund, no questions asked.
    200,000+ Active Installs
    1500+ 5 Star Reviews
    Developer
    $149
    .00
    /yr
    Buy Now
    Professional
    $299
    .00
    /yr
    Buy Now
    Ultimate Lifetime
    $1299
    Buy Now
    Unlimited Lifetime Package Features
    included in only in the Ultimate Lifetime Package
    One-Time Payment. No Renewal.
    All Future Add-Ons
    Developer Package Features
    included in all packages
    Untilimited Site Activations
    World-Class Support
    Import & Export Custom Post Types, Pages & Taxonomies
    Import & Export Custom Fields & Meta
    Download Import File from URL & FTP
    Export to CSV, XLSX, and XML
    Import & Export Filters
    Import & Export WordPress Users
    Import & Export Gravity Forms Entries
    Delete Missing Records on Import
    Run PHP Functions on Imports & Exports
    Choose Which Data to Update
    WP_Query Exports
    Secure Client Mode for Exports
    Zapier Integration for Exports
    Professional Package Features
    everything the Developer package, plus:
    Import & Export WooCommerce Products
    Import & Export WooCommerce Product Galleries
    Import & Export WooCommerce Orders
    Import & Export WooCommerce Customers
    Import & Export WooCommerce Reviews & Coupons
    Sync WooCommerce Stock & Prices
    Import & Export ACF Fields
    Import & Export JetEngine Fields
    Import & Export Meta Box Fields
    Export to Google Merchant Center
    Migrate Data Between Sites
    Bulk Edit with Export, Edit, Import
    Manual Scheduling for Imports & Exports

    Have any questions? 

    These are some of the most frequent questions we get about how to get data imported to or exported from WordPress

    Can I use any file type to import my data?

    Absolutely. It doesn't matter how big your CSV file is or what your column names are. Just use our Drag and Drop interface to map incoming data elements to their target fields, and you'll be done in minutes.

    Can I import Excel or Google Sheets to WordPress?

    Yes. Importing any spreadsheet is straightforward. Need to import Google Sheets to WordPress? Just copy and paste its URL. Need to import into WordPress from Excel? Same thing!

    How does my WordPress import data need to be organized?

    Our plugin is extremely flexible, so you probably won't have to make any changes to your data. You can try your WordPress import right now, and if you have any issues, we'll be glad to help you out.

    What will my WordPress export file look like?

    Unlike other solutions, our plugin gives you complete control over your WordPress export, including how it's formatted. You can modify fields, merge them together, and even create completely custom fields using embedded PHP.

    How do I export WordPress data to CSV?

    To export data to a CSV file, you don't have to do anything at all, as CSV is our default export format. If you want to export to other file formats, just change the export type in the Drag & Drop screen.

    Can I export WooCommerce products?

    Yes. Our software is completely integrated with WooCommerce. It provides full support to export WooCommerce customers, orders, products, variations, attributes, subscriptions, and reviews.
    linkcross