• Resolved lenineto

    (@lenineto)


    Guys, I have the latest version of GR plugin (5.0.5) running on multiple sites without problems. In ONE specific site, I keep getting this error.
    This site runs the exact same WP and WooCommerce version of all the other sites, and I have disabled all plugins (except for WooCommerce and GetResponse Integration).
    The site has a bunch of existing orders and it has products properly configured.

    No matter what I do, I ALWAYS get this:

    PHP Fatal error: Uncaught Error: Call to a member function get_description() on boolean in /path/wp-content/plugins/getresponse-integration/getresponse/ecommerce/classes/class-gr-product-factory.php:21
    Stack trace:
    #0 /path/wp-content/plugins/getresponse-integration/gr-woocommerce/classes/class-gr-woocommerce-exporter.php(205): Getresponse\WordPress\ProductFactory::buildFromSimpleProduct(false)
    #1 /path/wp-content/plugins/getresponse-integration/gr-woocommerce/classes/class-gr-woocommerce-exporter.php(145): Getresponse\WordPress\WooCommerceExporter->upsert_order_products(‘F’, Object(WC_Order))
    #2 /path/wp-content/plugins/getresponse-integration/gr-woocommerce/classes/class-gr-woocommerce-exporter.php(126): Getresponse\WordPress\WooCommerceExporter->export_order(Object(WC_Order), ‘F’, ‘yf’)
    #3 /path/wp-content/plugi in /data/www/be/1stclassnetworkmarketing.com/public/wp-content/plugins/getresponse-integration/getresponse/ecommerce/classes/class-gr-product-factory.php on line 21

    Any ideas how to get around this?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lenineto

    (@lenineto)

    After a lot of debugging I found out it was related to a few orders. After I deleted the orders, now the plugin runs without errors, which means we need a better exception handling on it.

    Still, the behavior of the plugin is erratic. I’ve installed it on 3 stores so far, and the products just never sync properly.

    In 1 store I got almost all products sync’ed. In the other 2 I got only 1 product sync’ed and in one of them, when I tried to sync again it created a duplicate of the same product.

    Plugin Author GetResponse

    (@getresponse)

    Hello,
    Thank you for contacting us.

    1. We will check exception handling in our plugin (from stackTrace).
    2. Regarding erratic behavior, please contact out support team. There might be few causes why ecommerce data didn’t synchronize.
    Login to getResponse and fill this form: https://app.getresponse.com/feedback.html.
    After your account verification, we will be able to investigate your particular issue.

    HI lenineto!

    I am having the exact same problem. Can you give any pointers as to how to identify problematic orders? Like, anything you noticed about the faulty products which might help me find the bad ones, too?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Call to a member function get_description() on’ is closed to new replies.