WordPress instance is marked as broken in Plesk: Uncaught TypeError: Argument 1 passed to WP_CLI



1 comment

  • Avatar

    I am unable to find BOM characgters in config.php or functions.php files. I still get error:

    Failed to reset cache for the instance #1: Failed to parse wp-config.php: Uncaught TypeError: Argument 1 passed to WP_CLI\Runner::WP_CLI\{closure}() must be an instance of Exception, instance of ParseError given in /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1706
    Stack trace:
    #0 [internal function]: WP_CLI\Runner->WP_CLI\{closure}(Object(ParseError))
    #1 {main}
      thrown on line 1706

    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request