Skip to main content

WP toolkit issue - WHM

Comments

2 comments

  • Lolfust

    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 - 

    https://support.plesk.com/hc/en-us/articles/17547371960215-WP-Toolkit-can-not-list-plugins-Something-went-wrong-Cannot-read-properties-of-null-reading-map

     

    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
  • Lolfust

    Resolved heres a guide - 

    You need to create/modify config.ini within -
    /usr/local/cpanel/3rdparty/wp-toolkit/var/etc/config.ini

    Enable 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 = true

    Then 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.