Set up debugging in WordPress: #
To set up debugging in WordPress, you need to edit the wp-config.php file located in the root directory of your WordPress installation.
Open the wp-config.php file in a text editor such as Notepad or Sublime Text.
Add the following lines of code at the end of the file:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Save the file and upload it back to your server.
Reproduce the issue: #
To reproduce the issue, you need to perform the actions that caused the problem.
Make sure to take note of the steps taken before the issue occurred.
Retrieve the debug log: #
Once the issue has been reproduced, you need to retrieve the debug.log.
The debug log is located in the wp-content folder.
On a standard WordPress installation, the path to the wp-content folder would be something like this:
/your-wordpress-directory/wp-content/
Look for the debug.log file, which should contain information about the error.
Send the debug log and plugins/themes list: #
Create a new text file.
In the text file, list all the plugins and themes installed on the website along with their respective versions.
Attach both the debug.log file and the text file in support form.