Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to debug WordPress Toolkit?
For example, in case WordPress site is on a server connected to WordPress Toolkit but the site is not added to WordPress Toolkit.
Answer
Note: All operations are performed on the main server with WordPress Toolkit.
-
Edit panel.ini according to the article How to enable/disable Plesk debug mode ;
-
Uncomment or add the following lines to
panel.ini
file:CONFIG_TEXT: [log]
; Log messages verbosity level (from 0 to 7)
; 0 - only critical errors, 7 - all including debug messages, default - 3
filter.priority = 7
[ext-wp-toolkit]
logSecurityCheckErrors = on
logExceptionStackTraces = on
remoteManagementLogRemoteCommands = on
remoteManagementLogRemoteCommandStdin = on
remoteManagementLogRemoteCommandEnv = on
remoteManagementLogRemoteCommandWorkingDir = on
remoteManagementLogRemoteCommandResults = on
remoteManagementLogRemoteFileOperations = on -
Log into the panel and open server settings page. Find the corresponding remote server and click "Edit" button.
- At "Directories with WordPress installations" specify path to the only instance you're going to debug.
-
Click on "Update" button.
-
Check
/var/log/plesk/panel.log
(Linux) or%plesk_dir%admin\logs\php_error.log
(Windows) file for suspicious error messages and warnings. - Contact Plesk Technical Support if required.
Comments
0 comments
Please sign in to leave a comment.