Automattic / babble

Multilingual WordPress done right.
https://wordpress.org/plugins/babble/
245 stars 50 forks source link

Need fix to work with woocommerce #196

Open quentinn opened 9 years ago

quentinn commented 9 years ago

Hey with woocommerce activated, I've got this error:

Warning: Invalid argument supplied for foreach() in \wp-content\plugins\woocommerce\includes\class-wc-webhook.php on line 89 Call Stack Time Memory Function Location 1 0.0018 878672 {main}( ) ..\edit.php:0 2 0.0030 994896 require_once( 'wp-admin\admin.php' ) ..\edit.php:10 3 0.0036 1023176 require_once( 'wp-load.php' ) ..\admin.php:31 4 0.0043 1048680 require_once( 'wp-config.php' ) ..\wp-load.php:29 5 0.0055 1189912 require_once( 'wp-settings.php' ) ..\wp-config.php:114 6 0.3413 71190312 do_action( ) ..\wp-settings.php:353 7 0.3489 71377920 call_user_func_array ( ) ..\plugin.php:505 8 0.3489 71377952 WooCommerce->init( ) ..\plugin.php:505 9 0.3500 71412360 WooCommerce->load_webhooks( ) ..\woocommerce.php:396 10 0.3567 71698984 WC_Webhook->enqueue( ) ..\woocommerce.php:574

When I deactivate babble, the warning disappears. It displays both front and back

WordPress 4.0 / Woocommerce 2.2.8 / Woocommerce subscriptions 1.5.12

lmartins commented 9 years ago

Also having the exact same error. Disabling WooCommerce removed the warning.

markoheijnen commented 8 years ago

Currently trying to use Babble for my sisters WooCommerce site. Current issue I'm having is that I'm unable to visit the product page because of "Please specify a target term_id" exception. Looking into it.

markoheijnen commented 8 years ago

Never mind on that one. To fast testing things out and forgot to set the languages.

lmartins commented 8 years ago

@markoheijnen Are you able to use Babble with WooCommerce? I had to stop trying because I was getting nowhere. Just wondering if it's time to give Babel another try.

markoheijnen commented 8 years ago

I'm just testing things out now. Unsure when you got the warning since I just started.

I did started with a plugin to make all required meta fields translatable. See https://github.com/markoheijnen/Babble-Woocommerce