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
#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