Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8269895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:22:55+00:00 2026-06-08T06:22:55+00:00

I am trying to enable debugging on a WordPress site to debug a plugin.

  • 0

I am trying to enable debugging on a WordPress site to debug a plugin. I read about the WP_DEBUG setting and I added the following to my wp-config.php file:

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

My understanding is that I should see a debug.log file in my wp-content directory. I haven’t seen anything yet, but I don’t know if that is because there aren’t any errors that have been logged, or if something needs to be restarted for these settings to take effect. So my question is when are the wp-config.php settings read and do I need to restart any services to make changes take effect.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T06:22:57+00:00Added an answer on June 8, 2026 at 6:22 am

    “Changes” to wp-config.php take place right away when edited by FTP or via the shell, because that file is accessed each time any page is generated and output by WordPress. No reboot of the server is needed; just do a load or a refresh of any front or backend page of the WordPress site.

    Do something to trigger a php error, like removing a bracket from a php function in header.php of the theme and see if that gets logged in debug.log. Check for the error in debug.log in wp-content.

    If the file doesn’t exist, there may be permission problems and WordPress couldn’t create the file. So add a plain text file (with the correct text encoding for your system; it’s best to use the FTP client to create a few file) and title it debug.log. If you create the file locally and upload it, give it at least 755 permissions, but 644 is safer. Then invoke a php error again and see if it gets logged.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to enable SQL Debugging following this link http://msdn.microsoft.com/en-us/library/ms165038%28VS.80%29.aspx but i can't
I am trying to enable USB Debugging on Android so that I don't need
I'm trying to debug my app on the device. Enabled USB debugging On Computer
I'm trying to find out how to enable hotswapping of code while debugging with
I am trying to enable these debugging preferences (NSShowAllViews, NSShowAllDrawing) as shown here: http://developer.apple.com/technotes/tn2004/tn2124.html#SECAPPKITVIEWS
See Title. .NET 2010 Express, building a C# Windows Form. Trying to enable Debug-and-edit,
Is there a way to enable code coverage while debugging a asp.net site (+assemblies)?
I am trying to enable JIT debugging for my winform application, I want to
I'm trying to enable debugging options in MuPDF. For some reason they have used
I'm trying to enable ADB (USB debugging) only when my application is running and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.