Symptoms
If WordPress Toolkit is showing errors on the screen or otherwise seems to be encountering an issue, it's useful to review the error logs that are generated in order to better characterize the problem.
Troubleshoot WordPress Toolkit
The log files for the WordPress Toolkit reside in the /usr/local/cpanel/3rdparty/wp-toolkit/var/logs/
directory.
To troubleshoot the WordPress Toolkit, run the following command, where filename
represents the log file’s name:
grep -A2 ERROR /usr/local/cpanel/3rdparty/wp-toolkit/var/logs/filename.log
You can also enable enhanced logging to debug and troubleshoot the WordPress Toolkit. To do this, add the following line to the /usr/local/cpanel/3rdparty/wp-toolkit/var/etc/config.ini
file:
logCommandsAndFileOperations = true
Warning:
We strongly recommend that you only enable enhanced logging when you need to troubleshoot the WordPress Toolkit. Enhanced logging may slow down WordPress Toolkit’s performance significantly.
You can find the above and more information within our documentation: WordPress® Toolkit