• Resolved JKP

    (@jacekpoleszak)


    Hello there. All I managed to do is test it with different settings on different servers (staging areas). On my test server it seemed okay, however on a live site (with many orders that had been autocompleted by your plugin) it seems that the plugin will fail to open the preview. Now, I am not sure if this would cause Kadence plugin not to work at all… but I am not willing to risk it (as there could be no emails sent out).

    I get this:

    Uncaught Exception: Invalid order. in /app/public/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 101
    read()
    wp-content/plugins/woocommerce/includes/class-wc-data-store.php:159
    read()
    wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:111
    __construct()
    wp-content/plugins/autocomplete-woocommerce-orders/includes/class-admin.php:67
    silkwave_autocomplete_paid_orders()
    wp-includes/class-wp-hook.php:290
    apply_filters()
    wp-includes/plugin.php:206
    apply_filters()
    wp-content/plugins/woocommerce/includes/class-wc-order.php:291
    maybe_set_date_paid()
    wp-content/plugins/woocommerce/includes/class-wc-order.php:268
    set_status()
    wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:668
    set_props()
    wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-preview.php:788
    get_wc_order_for_preview()
    wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-preview.php:266
    get_preview_email()
    wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-preview.php:733
    print_preview_email()
    wp-content/plugins/kadence-woocommerce-email-designer/preview.php:40
    include()
    wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-preview.php:197
    set_up_preview()
    wp-includes/class-wp-hook.php:288
    apply_filters()
    wp-includes/class-wp-hook.php:312
    do_action()
    wp-includes/plugin.php:544
    do_action_ref_array()
    wp-includes/class-wp.php:387
    parse_request()
    wp-includes/class-wp.php:729
    main()
    wp-includes/functions.php:1250
    wp()
    wp-blog-header.php:16
    require()
    index.php:17
    There has been a critical error on your website.

    Or, without debugging tools, it simply says…

    [15-Nov-2019 14:32:03 UTC] PHP Fatal error:  Uncaught Exception: Invalid order. in /app/public/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:101
    Stack trace:
    #0 /app/public/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order))
    #1 /app/public/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(111): WC_Data_Store->read(Object(WC_Order))
    #2 /app/public/wp-content/plugins/autocomplete-woocommerce-orders/includes/class-admin.php(67): WC_Abstract_Order->__construct(1)
    #3 /app/public/wp-includes/class-wp-hook.php(290): silkwave_autocomplete_paid_orders('completed', 1)
    #4 /app/public/wp-includes/plugin.php(206): WP_Hook->apply_filters('completed', Array)
    #5 /app/public/wp-content/plugins/woocommerce/includes/class-wc-order.php(291): apply_filters('woocommerce_pay...', 'completed', 1, Object(WC_Order))
    #6 /app/public/wp-content/plugins/woocommerce/includes/class-wc-order.php(268): WC_Order->maybe_set_date_paid()
    #7 /app/public/ in /app/public/wp-content/plugins/query-monitor/collectors/php_errors.php on line 86

    The conflict starts once the preview loads in the customizer window. What could be done about it? Do you think it would be safe to temporarily disable Autocomplete plugin to quickly design Email with Kadence and switch Autocomplete back on to send better emails? I don’t want to take chances therefore I decide to ask you and report an issue here. I am just testing your plugin, I noticed it hasn’t been updated in a while! Thank you.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter JKP

    (@jacekpoleszak)

    When you customize with Autocomplete WooCommerce installed make sure to select a real order to preview within the customizer. The mockup order won’t’ work. You can select this in the settings on the left side in your email type and text area.

    This is the reply I got from the Kadence plugin author, and it worked for me!

    Thank you Ben from Kadence WP for really speedy support to this issue!

    The issue is now resolved. Both plugins work, you only have to change the preview email from mockup to a real order example first in the PREVIEW ORDER input box of the Email Type and Text section in the Email Customizer window.

    I am facing the same problem with Kadence Email Designer. It shows critical error in preview. Can you please elaborate where can i change the preview email from mockup to a real order ? There isn’t any option in ’email type and text’ section for changing mockup to real order.
    [Update] : Just created a mockup order and it worked. My bad

    • This reply was modified 5 years, 3 months ago by abhinav2.

    Hello. i am getting critical error. I dont know how to do a MockUp order ?
    Any news?

    Thread Starter JKP

    (@jacekpoleszak)

    Hey there @bernhard05 all you have to do is change the preview email from mockup to a real order example first in the PREVIEW ORDER input box of the Email Type and Text section in the Email Customizer window. However, this plugin works even with a mockup order for me after updates.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin conflict – Kadence WooCommerce Email Designer’ is closed to new replies.