WP toolkit issue - WHM
There is a weird issue when i trying to access within WHM to WP-toolkit,
I can see all instalttion in the server and see themes, but when i go to plugins,
I get the following error -
Something went wrong.
Cannot read properties of null (reading 'filter')
I tried checking the wp toolkit error log i do not see anything resemble the cause of the issue,
Is anyone else facing this issue and know how to fix it?
-
I also tried enchaned error log of wp toolkit + tried to check on swengine log and error log + cpanel error log + tried to reinstall wp toolkit, issue still the same.
The most similar issue i found its this -
But for mine is
Cannot read properties of null (reading 'filter')
but i cant find what plugin in what wordpress causing this error?
Also found article in cPanel regards simillar but for mine only plugin do not work, and we running litespeed not ea nginx.
Wished 3rd party licenses could open support tickets already..
0 -
Resolved heres a guide -
You need to create/modify config.ini within -
/usr/local/cpanel/3rdparty/wp-toolkit/var/etc/config.iniEnable further debugging cause default debug wont help -
; Enables enhanced logging for debugging and troubleshooting.
logCommandsAndFileOperations = true; Enables logging of WPT API requests and responses for debugging and troubleshooting.
; By default, only basic information is logged.
; For more details use isApiDetailedRequestLogEnabled and isApiDetailedResponseLogEnabled options.
isApiLogEnabled = true; Enables detailed logging of WPT API requests.
; When set to true, HTTP request body is logged for each WPT API request.
; Additionally, user who initiated the request is also logged.
isApiDetailedRequestLogEnabled = true; Enables detailed logging of WPT API responses.
; When set to true, HTTP response body is logged for each WPT API request.
isApiDetailedResponseLogEnabled = trueThen after re-produce the issue check -
/usr/local/cpanel/3rdparty/wp-toolkit/var/logs/
for the problemetic installation,
Than search for the error -
[2024-11-22 19:30:45.865] DEBUG Unable to reset cache for the instance: WordPress installation #326 ('https://example.com'/)Detach the installation will resolve the issue.
Hopefully it can be added to cPanel articles regards how to fix this or simillar issues.
0
Please sign in to leave a comment.
Comments
2 comments