Clouduxe Docs
HomeStatusSupport
  • Welcome
  • Getting Started
    • Why Choose Clouduxe?
    • Web Hosting Explained
    • VPS and Dedicated Servers
    • Order Your Server
    • How Long does it take to set up my Account?
    • Content Restrictions and DMCA Compliance
    • Banned Countries
    • Account Closure
  • cPanel - Control Panel
    • How to Reset Your cPanel Account Password
    • How to Upload Files via the cPanel File Manager
    • How to Edit a File in the cPanel File Manager
    • How to Edit .htaccess File in the cPanel File Manager
    • How to Check Disk Usage and Bandwidth Usage in cPanel
    • How to Create a Cron Job in cPanel
    • How to Edit or Delete a Cronjob in cPanel
    • How to Update a Cron Job Email Address in cPanel
    • How to Change the PHP Version for Your Domain in cPanel
    • How to Reset the PHP Version to the Default Version in cPanel
    • How to Set the PHP Version per Domain in cPanel
    • How to Set the PHP Version per Directory in cPanel
    • How to Add "A Record" in cPanel
    • How to Add an MX Record in cPanel
    • How to Edit or Remove an MX Record in cPanel
    • How to Add a CNAME Record in cPanel
    • How to Edit or Remove a CNAME Record in cPanel
    • How to Edit or Remove a Record in cPanel
    • How to Create an Additional Web Disk Account in cPanel
    • How to Access cPanel Web Disk
    • Your Hosting Account Has Been Compromised
  • WordPress
    • How to Access the WordPress Admin Dashboard
    • How to Remove Sample Comments and Posts From WordPress
    • How to Write and Publish Your First Blog Post in WordPress
    • How to Remove a Post in WordPress
    • How to Bulk Delete Posts in WordPress
    • How to Add a New Category in WordPress
    • How to Delete an Uncategorized Category in WordPress
    • How to Delete Categories in WordPress
    • How to Install a New WordPress Theme
    • How to Install a WordPress Theme Manually
    • How to Delete a WordPress Theme
    • How to Install a WordPress Plugin
    • How to Manually Install a WordPress Plugin
    • How to Deactivate and Delete a WordPress Plugin
    • How to Forcefully Update or Reinstall a WordPress Plugin
    • How to Change the Password of a WordPress Account
    • How to Change the WordPress User's Display Name
    • How to Debug WordPress® with cPanel and WordPress Toolkit?
    • How to Create a WordPress Staging Site with cPanel
    • How to Increase WordPress Memory Limit
  • SSL
    • How to Generate a Certificate Signing Request - CSR in cPanel
    • How to Retrieve a CSR from cPanel
    • How to Remove a CSR Code in cPanel
    • How to Install an SSL on Your Domain Using AutoSSL in cPanel
    • How to Include or Exclude a Domain from AutoSSL in cPanel
    • How to Force SSL
  • Databases
    • How to Create a Database in cPanel
    • How to Rename a Database in cPanel
    • How to Delete a Database in cPanel
    • How to Create a Database Username in cPanel
    • How to Add a User to a Database and Grant Privileges
    • How to Import a Database via phpMyAdmin in cPanel
    • How to Export Database Table via phpMyAdmin in cPanel
    • How to Edit a Database Table via phpMyAdmin in cPanel
    • How to Delete a Database Table via phpMyAdmin in cPanel
    • How to Optimize a Database via phpMyAdmin in cPanel
    • How to Repair a Database via phpMyAdmin in cPanel
  • Managing Domains
    • Addon Domain
    • DNS Propagation Time
    • Running Multiple Websites
    • Subdomains
    • Aliases vs. Redirects: Which One Should You Use?
    • How to Edit Your DNS Records with Clouduxe
    • How to Forward a Domain
    • Do We Support Wildcard Subdomains?
    • Can I Add Addon Domains Without Changing DNS?
    • What Nameservers Should I Use for an Addon Domain?
    • How to Remove an Addon Domain
  • Emails
    • Email Overview
    • Creating An Email Account on Your cPanel Hosting
    • Email Forwarding in cPanel
    • Creating An Email Account on cPanel
    • How to Delete an Email Account in cPanel
    • Using Gmail with your Clouduxe Web Hosting
    • Setting up Google MX Records from your cPanel
    • Configuring an Email Client
    • How to Change your Webmail Password in cPanel
    • Configuring Autoresponder for Your Email Account
    • Outlook 365 Auto Archive Setup
    • Spam Filtering Customization
    • How to Transfer IMAP Emails Using an IMAP Transfer Tool
    • How Folder Subscription Works
    • Email Troubleshooting Guide
    • Why Does My Mailbox Get Full?
    • How to Set Up SMTP in cPanel
    • My Hosting is Suspended – Will My Emails Work?
  • Domain Names
    • How Can I Register a Domain with Clouduxe?
    • How Can I Transfer My Domain to Clouduxe?
    • How Can I Renew My Domain with Clouduxe?
    • How Can I Set Nameservers on My Domain?
    • How Can I Manage DNS on My Domain Through cPanel?
    • Do We Still Need WHOIS Privacy Protection?
    • How to Use Cloudflare on Your Domain
      • Cloudflare SSL Configuration: Flexible vs. Strict Mode
      • How to Flush the Cloudflare Cache
      • What is a CDN?
      • Cloudflare DDoS Protection for Your Website
      • Cloudflare for Website Optimization
    • Why Do Different TLDs Have Different Prices?
    • Domain Verification Suspension
    • Changing Your Main Domain
    • Failed Domain Registration/Renewal
    • How to Cancel Your Domain Name Registration
  • Accounts and Billing
    • Cancellation and Refund Policy
    • Money-Back Guarantee
    • Payment Methods
    • Cancellation
    • How to Enable/Disable 2FA Authentication
    • How do I Add/Remove a Payment Card from my Account
    • How to Add Funds to My Clouduxe Account
    • How to View Invoices
    • Affiliate System
      • How to Use the Clouduxe Affiliate System
    • Why Was My Card Declined?
    • Invoicing and Suspension
  • VPS and Dedicated Servers
    • VPS and Dedicated Servers at Clouduxe
    • Protecting Your Server with Fail2Ban
    • Connecting to a Linux Server
      • How to Open Ports in Linux
    • Protect Your Linux Server
    • Connecting to a Windows Server via Remote Desktop Protocol (RDP)
      • How to Open Ports in Windows RDP
      • How to Set Up XAMPP in Windows RDP
      • How to Set Up FileZilla Server in Windows RDP
      • Cloudflare Spectrum for Windows RDP
      • Protect Your Windows RDP
  • Network and Technology
    • Hardware and Locations
    • Why Hosting Location Matters
    • Software Stack
    • LVE Limits Explained
    • System Resource Limits
    • Disk Space Limits
    • Firewall IP Block
    • Enabling LiteSpeed Crawler
    • How to Perform MTR
    • What is the Average Server Specification?
    • How to Do Traceroute from a Windows Machine
    • How to Clear your Browser Cache
    • How to Resolve the “Deceptive Site Ahead” Warning
    • HTTP Versions
      • HTTP/0.9 Overview
      • HTTP/1.0 Overview
      • HTTP/1.1 Overview
      • HTTP/2 Overview
      • HTTP/3 Overview
      • HTTP with QUIC Overview
      • Comparison of HTTP Versions
  • Game Servers
    • FiveM
      • Resolving Server Thread Hitch Warnings in FiveM
      • How to Optimize Your FiveM Server for Better Performance
      • Troubleshooting Network Thread Hitch Warning in FiveM Servers
      • Creating Immersive In-Game Events for Your FiveM Server
      • Navigating the Challenges of Development in FiveM Servers
      • Managing Staff Members in Your FiveM Server: Best Practices
      • Managing Your FiveM Server Playerbase: Strategies for Success
      • FiveM as a Business: Managing Donations and Revenue Effectively
Powered by GitBook
On this page

Was this helpful?

  1. WordPress

How to Debug WordPress® with cPanel and WordPress Toolkit?

This article provides a step-by-step explanation on how to quickly and easily debug your WordPress site using the WordPress Toolkit in cPanel. The WordPress Toolkit provides a convenient, easy-to-use interface in cPanel that you can use to set up and manage WordPress websites.

WordPress’s greatest asset is that it simply works, but like any complex software, bugs may appear in its code, plugins, or themes that could cause unexpected errors. Although WordPress has debugging tools, using them can be cumbersome. The WordPress Toolkit in cPanel makes debugging easier and faster by providing an intuitive interface for identifying errors.

WordPress Debug Mode: This mode logs error messages and warnings generated by the PHP code to help developers troubleshoot issues.

Debugging Options

  • WP_DEBUG: Enables or disables debugging.

  • WP_DEBUG_LOG: When enabled, WordPress writes error messages to debug.log in the wp-content directory.

  • WP_DEBUG_DISPLAY: Controls whether error messages are displayed on the site.

  • SCRIPT_DEBUG: Instructs WordPress to use unminified CSS and JS files for debugging front-end code.

  • SAVEQUERIES: Saves database queries to a PHP array for viewing.

Be careful when enabling debugging on production sites! Debug information should not be visible to regular users. For live sites, it's recommended to use the debug log instead.

Steps to Debug WordPress with the WordPress Toolkit

  1. Log in to cPanel.

  2. Go to Domains -> WordPress Toolkit.

  3. Select the site you want to debug.

  4. Click Debug in the Tools section to enable debug mode.

  5. Under Status, click Check Security.

  6. After choosing debugging options, click OK to start scanning the site.

  7. Errors will be logged in the debug.log file within the wp-content directory if WP_DEBUG_LOG is enabled.

Once the scan is complete, the toolkit will display a list of issues and suggested improvements. Fix them manually or automatically if you have WordPress Toolkit Deluxe.

Identifying Faulty Plugins

Non-developers may find it easier to identify faulty plugins through a process of elimination:

  1. Open WordPress Toolkit and select your site.

  2. Click the Plugins tab.

  3. Deactivate plugins one by one and check for the issue.

  4. Once identified, uninstall the faulty plugin.

Enabling Maintenance Mode with WordPress Toolkit

If debugging on a live site, you can enable maintenance mode to avoid user interruptions:

  1. In the WordPress Toolkit interface, select your site.

  2. Click the switch to enable Maintenance Mode.

  3. Configure and preview the maintenance page if needed.

Use maintenance mode to notify users when the site is unavailable during debugging or updates.

Restoring WordPress Backups

The quickest way to fix a broken WordPress site is to restore a backup:

  1. Launch the Backup/Restore tool from WordPress Toolkit.

  2. Select a recent backup.

  3. Click Restore.

It's best to create a new backup before making changes so that you can restore it if needed.

WordPress Toolkit in cPanel makes it easy to install, manage, and debug WordPress sites, allowing hosts to provide a better user experience while reducing support costs.

PreviousHow to Change the WordPress User's Display NameNextHow to Create a WordPress Staging Site with cPanel

Last updated 8 months ago

Was this helpful?