• Hi,
    I’ve just installed your plugin on a WooCommerce 4.2.0 site and when I go to customize, I get the error:
    Fatal error: Uncaught Exception: Commande non valide. in /home/xxxxxxxx/public_html/wooc/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:103 Stack trace: #0 /home/xxxxxxxx/public_html/wooc/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /home/xxxxxxxx/public_html/wooc/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(112): WC_Data_Store->read(Object(WC_Order)) #2 /home/xxxxxxxx/public_html/wooc/wp-content/themes/divi-child/functions.php(104): WC_Abstract_Order->__construct(1) #3 /home/xxxxxxxx/public_html/wooc/wp-includes/class-wp-hook.php(289): rfvc_update_order_status(‘completed’, 1) #4 /home/xxxxxxxx/public_html/wooc/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘completed’, Array) #5 /home/xxxxxxxx/public_html/wooc/wp-content/plugins/woocommerce/includes/class-wc-order.php(291): apply_filters(‘woocommerce_pay…’, ‘completed’, 1, Object(WC_Order)) #6 /home/xxxxxxxx/publ in /home/xxxxxxxx/public_html/wooc/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php on line 103

    It seeùs ùy child theme is causing trouble or anything else ?
    Any idea ?
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,
    You likely just need to select a real order to preview with, some functions/plugins require specific order data when generating a preview and so it appears you have something in your child theme that is filtering on the order. By choosing a real order to preview with the issue should be resolved.
    You do this in the plugin settings under text and email type.

    Ben

    Thread Starter antoine69

    (@antoine69)

    Thank you Ben.
    I saw what the problem was in my child theme and it works now.

    Another question : if the plugin is activated but NO custommizations are done from the plugin customizer, what are the emails used to send : the default WooCommerce emails ?
    Thanks

    No, they will still be effected by our plugin because they will run through our plugins templates and filters if you don’t want the plugin to do anything you have to deactivate it.

    Ben

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error trying to customize’ is closed to new replies.