The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →The standard WordPress debug log is wp-content/debug.log. It is created only when both WP_DEBUG and WP_DEBUG_LOG are enabled in wp-config.php. Set WP_DEBUG_DISPLAY to false so PHP notices and errors are recorded without being printed in visitors’ pages.
Antihost offers managed WordPress hosting with free migration, one-click staging and a 14-day free trial.
Use your host’s file manager, SFTP or SSH to retrieve the file. For failures that WordPress does not capture, check the host’s PHP error log and web-server log as separate sources.
As an Amazon Associate I earn from qualifying purchases.
Recommended Free Tools
Where is WordPress debug.log?
For a normal WordPress installation, the built-in log is located at wp-content/debug.log, relative to the directory containing wp-config.php. WordPress writes there when debugging is active and logging has been enabled. The official configuration details are documented in the WordPress Developer Handbook debugging guide.
If the site administrator assigned a different value to WP_DEBUG_LOG, the file is written to that configured path instead. Therefore, an empty wp-content directory does not prove that logging is broken: first inspect wp-config.php for a custom location.
#1 Best Overall
- [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
- [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
- [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
- [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
- [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.
Enable the log in wp-config.php
Add these definitions before the line that says That’s all, stop editing! Happy blogging.:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
WP_DEBUG_LOG is a companion to WP_DEBUG; it has no effect while WP_DEBUG is disabled. With the three settings above, PHP errors, warnings, notices and messages sent through PHP’s error_log() are written to the debug file while diagnostic text stays out of the page HTML.
WordPress recommends using verbose debugging mainly on development or staging sites. On a live site, enable it only long enough to reproduce the fault, collect the relevant entries and diagnose the cause.
Rank #2
- 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
- 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
- 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
- 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
- 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
How to open the WordPress log
Using a hosting file manager
- Sign in to your hosting control panel and open its File Manager.
- Navigate to the directory where WordPress is installed. This is the directory that contains folders such as
wp-admin,wp-includesandwp-content. - Open
wp-contentand locatedebug.log. IfWP_DEBUG_LOGcontains a custom path, follow that path instead. - Use the editor to inspect the file or download a copy before making changes.
Large logs are easier to search after downloading them and opening the copy in a plain-text editor. Do not make the file publicly accessible just to read it in a browser.
Using SFTP or FTP
- Connect with the credentials supplied by your host.
- Open the WordPress installation directory, then
wp-content. - Download
debug.logand open it locally as plain text. - For a custom
WP_DEBUG_LOGvalue, browse to that exact path rather than assuming the default location.
SFTP is preferable to unencrypted FTP when the host supports it, because the connection protects credentials and transferred log contents.
Using SSH
After connecting to the server, change to the WordPress directory and inspect the file with a command-line pager or download it for local analysis. The exact absolute path depends on the host’s filesystem and the value of WP_DEBUG_LOG. If the file is not present, verify the constants and trigger the failing request once before searching again.
Rank #3
- [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
- [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
- [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
- [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
- [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by
Which WordPress log should you read?
WordPress debugging, PHP runtime logging and web-server logging are related but distinct. Choosing the right source prevents you from overlooking a failure that occurs before WordPress can process a request.
| Log | Typical location or interface | What it can show | When to use it |
|---|---|---|---|
| WordPress/PHP debug log | wp-content/debug.log or the path configured in WP_DEBUG_LOG |
PHP errors, warnings, notices and messages sent through PHP’s error_log() while WordPress debugging is enabled |
Plugin, theme and WordPress-code problems that occur during normal application execution |
| Host PHP error log | Hosting dashboard, server filesystem or provider-specific log viewer | PHP startup failures, worker errors and other runtime problems that may not reach the WordPress debug file | The debug file is absent, stops abruptly or does not explain a fatal failure |
| Web-server log | Apache, Nginx or managed-host request/error interface | HTTP requests, routing failures, connection errors and server responses | Investigating 4xx/5xx responses, redirects, request handling or failures before PHP runs |
Paths and dashboard labels for host logs vary by provider. A managed WordPress host may expose both PHP and web-server records in its control panel; otherwise ask the host where those two logs are available.
How to read an entry in debug.log
Read from the newest entries upward, because the final lines usually correspond to the latest reproduction. Treat each line as evidence to correlate with a specific request rather than as an automatic diagnosis.
Rank #4
- Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
- Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
- All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
- Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
- Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.
- Start with the timestamp. Note the date and time, including the server’s timezone if it is shown. Reproduce the problem once and identify entries created immediately afterward.
- Identify severity. Labels such as
Fatal error,WarningandNoticeindicate different levels of urgency. A fatal error normally terminates the request; a warning or notice may allow the page to continue but can reveal the first symptom of a larger issue. - Read the message completely. Look for the function, class, missing file, undefined variable or other condition named in the text. Do not act on a fragment copied from the first line alone.
- Record the file and line number. The path often identifies the responsible plugin, theme or WordPress core component. The reported line is where PHP detected the problem, which is not always where the underlying mistake originated.
- Follow the stack trace. A trace shows how execution reached the failing call. Look for the first path belonging to a plugin or theme and compare it with the action that triggered the request.
- Check repetition and timing. Repeated notices may be secondary effects. Confirm that a line appears when you perform the failing action, then test whether the same message occurs on an unrelated request.
For a critical error, begin with the fatal entry and its stack trace. If no corresponding WordPress entry exists, move to the host PHP log: a failure during PHP startup or before WordPress initializes may be recorded there instead.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Finding the WordPress critical-error log
There is not a separate universal file named “critical-error.log” created by WordPress. Critical errors are generally PHP fatal errors and, when WordPress has initialized debugging, appear in debug.log or the custom path configured in WP_DEBUG_LOG. The same event can also be present in the host PHP log.
When a site displays a critical-error message, note the exact time, reproduce it once, then inspect the newest fatal entry. The plugin, theme or core path in the message is the starting point for isolating the failing component. If the site cannot load far enough to create a WordPress entry, provide the host with the timestamp and request the PHP and web-server records for that request.
Best Value
WordPress.com site logs versus a self-hosted log file
WordPress.com provides a Site Logs interface that records PHP errors and web-server requests on the site. Its support documentation distinguishes those two categories and explains that custom WP_DEBUG_LOG or error_log files are retrieved with SFTP or SSH. See the WordPress.com Site Logs documentation for the current interface and access requirements.
Consequently, use the dashboard when the event is available there, but use SFTP or SSH for a file written to a custom path. A WordPress.com site log and a file named wp-content/debug.log are not interchangeable: one is a hosted log service, while the other is a file produced by your PHP configuration.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWhat to do when debug.log is missing
- Check both constants. Confirm that
WP_DEBUGandWP_DEBUG_LOGare enabled and that the definitions occur before WordPress’s stop-editing line. - Check the display setting.
WP_DEBUG_DISPLAYset tofalsehides output but does not disable logging; do not turn it on merely because the file is difficult to find. - Look for a custom path. A string path assigned to
WP_DEBUG_LOGchanges the destination from the defaultwp-content/debug.log. - Trigger a fresh event. Load the page or repeat the action that causes the problem, then refresh the directory listing. A file may not exist until something is logged.
- Check server-level logs. PHP startup errors, permission failures and web-server problems can occur outside WordPress’s logging workflow.
- Ask the host about access. Managed environments may hide filesystem paths while exposing the same information through a dashboard.
If the host reports that PHP cannot write to the configured destination, correct the path or permissions with the host’s assistance rather than making the log world-readable.
Protect logs while troubleshooting
Debug logs can contain filesystem paths, SQL details, request data and other information that should not be public. The WordPress wp-config.php handbook warns that publicly accessible log files are a security risk.
- Keep
WP_DEBUG_DISPLAYset tofalseso diagnostics are not injected into visitor-facing responses. - When possible, configure the log outside the public web root. If that is not possible, restrict direct web access and file permissions through your host’s supported method.
- Use SFTP, SSH or the host’s private log viewer instead of linking to the file publicly.
- After diagnosis, set
WP_DEBUGandWP_DEBUG_LOGback to their normal production values and verify that new verbose entries stop. - Remove or securely archive downloaded copies, since they may contain the same sensitive paths and messages.
A practical workflow for diagnosing a WordPress error
- Write down the failing URL, the action that causes the failure and the approximate time.
- Enable logging with the three constants if it is safe to do so, keeping display disabled.
- Reproduce the failure once; avoid generating thousands of unrelated requests.
- Open the newest section of
debug.logand match timestamps, severity, message, path and line number. - Identify the plugin, theme or core component named in the trace and preserve the original entry before changing configuration.
- If the WordPress file is empty or absent, obtain the PHP error log and then the web-server log for the same timestamp.
- Apply the smallest controlled change needed to test the suspected cause, reproduce the request again and compare the new records.
- Disable verbose debugging and protect or remove exposed copies after the investigation.
This process separates an application-level bug from a PHP-runtime or request-level failure, while preserving the timestamps and context a host or developer needs to continue diagnosis.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problems




