• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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