Conflic with WP CLI Yoast reindex
-
Form maker plugin has a serious conflict with the Yoast plugin when using WP-CLI commands.
To see this error, first of all you should have to install WP-CLI on your server (Please Google how to install WordPress WP-CLI on a Server).
After installing WP-CLI, install and activate the Yoast plugin.
Then, In SSH, go to the directory where your wordpress site is installed (eg: # cd public_html).
Then type, following SSH command using the user of the wordpress site:
wp yoast index --reindex
Here are the errors I got:
[lankaweb@bepositive public_html]$ wp yoast index --reindex
This will clear all previously indexed objects. Are you certain you wish to proceed? [y/n] y
Indexing posts 100% [===========================================] 10:13 / 10:20
Indexing terms 100% [=============================================] 0:00 / 0:00
Warning: Undefined array key "HTTP_HOST" in /home/lankaweb/public_html/wp-content/plugins/form-maker/framework/WDW_FM_Library.php on line 4982
Indexing post links 0 % [> ] 0:00 / 0:00Warning: Undefined array key "HTTP_HOST" in /home/lankaweb/public_html/wp-content/plugins/form-maker/framework/WDW_FM_Library.php on line 4982
Indexing post links 0 % [> ] 0:01 / 56:19Warning: Undefined array key "HTTP_HOST" in /home/lankaweb/public_html/wp-content/plugins/form-maker/framework/WDW_FM_Library.php on line 4982
Indexing post links 3 % [=> ] 1:26 / 41:46
- The topic ‘Conflic with WP CLI Yoast reindex’ is closed to new replies.