• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Wordpress toolkit scan fails with "Call to undefined function add_filter()"

Bitpalast

Plesk addicted!
Plesk Guru
Subscription "<domain>": PHP Fatal error: Uncaught Error: Call to undefined function add_filter() in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1047) : eval()'d code:93 Stack trace:
#0 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1047): eval()
#1 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1010): WP_CLI\Runner->load_wordpress()
#2 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/wp-cli.php(21): WP_CLI\Runner->start()
#3 /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/boot-fs.php(24): include('/usr/local/psa/...')
#4 {main} thrown in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1047) : eval()'d code on line 93

Searching for "Call to undefined function add_filter()" returned some results in the forum, but I was not able to solve the issue by them.

CentOS 7.3, 64-Bit, Onyx 17.5.3, MU #10, latest WP toolkit
 
Back
Top