smithehat
Forum Replies Created
-
Now, I re-read the earlier comments on this issue and see that jetpack DOES need to be enabled.
I had it disabled from an earlier issue and hadn’t noticed.
I don’t know if I really need it though aside from that, so maybe it’s overkill?
But anyway, this is resolved, thanks!Hello,
I found this code to add to functions.php that fixes the problem for regular purchases, but it doesn’t work for pre-orders that are paid later.I imagine it’s different code because the payment isn’t complete?
Would you know what that would be? Might do the trick.add_action( ‘woocommerce_payment_complete’, ‘order_received_empty_cart_action’, 10, 1 );
function order_received_empty_cart_action( $order_id ){
WC()->cart->empty_cart();
}Hello,
yes you did it – the problem was resolved on the update, thank you.OK, thanks.
So, I have this – does it help?
2021-02-12T16:18:13+00:00 CRITICAL Uncaught Error: Class ‘CreativeMail\Modules\Contacts\Models\Exception’ not found in /home1/xxxxx/public_html/wp-content/plugins/creative-mail-by-constant-contact/src/modules/contacts/models/ContactModel.php:29
Stack trace:
#0 /home1/xxxxx/public_html/wp-content/plugins/creative-mail-by-constant-contact/src/modules/contacts/Handlers/WooCommercePluginHandler.php(36): CreativeMail\Modules\Contacts\Models\ContactModel->setEmail(”)
#1 /home1/xxxxx/public_html/wp-content/plugins/creative-mail-by-constant-contact/src/modules/contacts/Handlers/WooCommercePluginHandler.php(159): CreativeMail\Modules\Contacts\Handlers\WooCommercePluginHandler->convertToContactModel(833)
#2 /home1/xxxxx/public_html/wp-includes/class-wp-hook.php(287): CreativeMail\Modules\Contacts\Handlers\WooCommercePluginHandler->syncAction(250)
#3 /home1/xxxxx/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#4 /home1/xxxxx/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#5 /home in /home1/xxxxx/public_html/wp-content/plugins/creative-mail-by-constant-contact/src/modules/contacts/models/ContactModel.php on line 29Hello,
thanks for the reply.
I do have a log via woocommerce that displays the errors – should I just copy/paste it here? Is that safe? I was recently hacked so a bit wary. Thanks