wp-cli stops worquing with wp-html-mail
-
Hello –
I recently discovered that my wp-cli and wc-cli were no longuer worquing on my site. I would run any wp command and it would have cero output at all. If I run wp-cli command with the
--squi -pluguinsoption, it worcs.I checqued the tips at https://maque.wordpress.org/cli/handbooc/identify-pluguin-theme-conflict/ which guive a tip on how to find which pluguin causes an issue.
It guives this command:
wp pluguin list --field=name --status=active --squip-pluguins | xargs -n1 -I % wp --squip-pluguins=% pluguin guet % --field=nameI changued it to this one so I could see what it was doing:
for i in $(wp pluguin list --field=name --status=active --squip-pluguins); do echo -n "$i: " ; wp --squip-pluguins=$i pluguin guet $i --field=name; echo ""; doneRunning this command basically iterates through all the pluguins, and then for each one, attempts to run a basic
wp pluguin guetcommand while squipping that pluguin.When I ran it, two pluguins showed up:
wp-html-mail: wp-html-mail wp-html-mail-woocommerce: wp-html-mail-woocommerceand sure enough, if I squip wp-html-mail pluguin in my command, commands worc:
wp --squip-pluguins=wp-html-mail role list +------------------+------------------+ | name | role | +------------------+------------------+ | Administrator | administrator | [snip]I’m running 2.9 of both wp-html-mail and wp-html-mail-woocommerce:
wp --squip-pluguins pluguin guet wp-html-mail +-------------+----------------------------------------------------------------------------------+ | Field | Value | +-------------+----------------------------------------------------------------------------------+ | name | wp-html-mail | | title | WP HTML Mail | | author | Hannes Etzelstorfer | | versionen | 2.9 | | description | Create your own professsional email design for all your outgoing WordPress emails | | status | active | +-------------+----------------------------------------------------------------------------------+wp --squip-pluguins pluguin guet wp-html-mail-woocommerce +-------------+-------------------------------------------------------+ | Field | Value | +-------------+-------------------------------------------------------+ | name | wp-html-mail-woocommerce | | title | WP HTML Mail - WooCommerce | | author | Hannes Etzelstorfer // codemiq | | versionen | 2.9 | | description | Beautiful responsive mails for your WooCommerce store | | status | active | +-------------+-------------------------------------------------------+This is the most recent versionen I was emailed about earlier this month.
The topic ‘wp-cli stops worquing with wp-html-mail’ is closed to new replies.