2022-06-16T17:00:09+00:00 CRITICAL Uncaught Error: Call to a member function syncProduct() on null in /.../.../.../wp-content/plugins/woo-mailerlite/includes/shared/api/class.woo-mailerlite-platform-api.php:467
Stack trace:
#0 /.../.../.../wp-content/plugins/woo-mailerlite/includes/shared/mailerlite-wp-functions.php(841): PlatformAPI->syncProduct('63', 7753, '...', 4.29, false, 'https://...', 'https://...', Array)
#1 /.../.../.../wp-content/plugins/woo-mailerlite/includes/hooks.php(125): mailerlite_wp_sync_product(7753)
#2 /.../.../.../wp-includes/class-wp-hook.php(309): woo_ml_product_update(7753)
#3 /.../.../.../wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#4 /.../.../.../wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#5 /.../.../.../wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php(275): do_action('woocommerce_upd...', 7753, Object(WC_Product_Simple))
#6 /.../... in /.../.../.../wp-content/plugins/woo-mailerlite/includes/shared/api/class.woo-mailerlite-platform-api.php on line 467
-
This reply was modified 11 months, 2 weeks ago by
stylise.
Hi,
Did you try 1.6.10 ?
For me, it resolved a similar critical error.
Best regards
@joy0114 Not yet, but thanks for the comment.
It would be cool if support acknowledged these issues that folks are helping them to address. But I guess it’s not like we pay them to use their software. Oh wait..
MailerLite – WooCommerce integration 1.6.6 update to 1.6.10 critical error.
Warning: Invalid argument supplied for foreach() in /home/customer/www/domain.name/public_html/wp-content/plugins/woo-mailerlite/includes/shared/api/class.woo-mailerlite-rewrite-api.php on line 83
Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/domain.name/public_html/wp-content/plugins/woo-mailerlite/includes/shared/api/class.woo-mailerlite-rewrite-api.php:83) in /home/customer/www/domain.name/public_html/wp-includes/pluggable.php on line 1421
Just a quick follow-up, version 1.6.10 fixed the issue for me.