PHP Warning with WP CLI
-
Hi,
When using WP CLI commands such as
wp option get wp_template_root, the plugin return warnings which prevent to get expected data from external scripts:admin@xxx:/srv/www/xxx.net/current$ wp option get wp_template_root PHP Warning: Cannot modify header information - headers already sent by (output started at /srv/www/xxx.net/releases/20170613160055/web/app/plugins/cleantalk-spam-protect/cleantalk-sfw.class.php:1) in /srv/www/xxx.net/releases/20170613160055/web/app/plugins/security-malware-firewall/security-malware-firewall.php on line 149 Warning: Cannot modify header information - headers already sent by (output started at /srv/www/xxx.net/releases/20170613160055/web/app/plugins/cleantalk-spam-protect/cleantalk-sfw.class.php:1) in /srv/www/xxx.net/releases/20170613160055/web/app/plugins/security-malware-firewall/security-malware-firewall.php on line 149Can you fix it?
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘PHP Warning with WP CLI’ is closed to new replies.