Home Forums WoodMart support forum Problems processing orders after update to 7.6.0

Problems processing orders after update to 7.6.0

Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #593892

    Goldenlion
    Participant

    Hello,

    I tested the update of Woodmart from 7.5.2 to 7.6.0 on my staging environment.
    Now I encounter problems with processing orders and receive critical errors messages.
    I use Make Email Customizer for WooCommerce Pro from ExcellentDynamics and found out that when I switch this plugin off the problem is gone.

    But the fatal error messages points to something from Woodmart.

    Also when I have this email customizer plugin turned on and use the (previous) version 7.5.2 of Woodmart there is no problem…

    I have attached the error files.

    So can you please look at it and help me with this?

    Thanks,

    Best regards
    Dennis

    #593950

    Artem Temos
    Keymaster

    Hello,

    To assist you more effectively, could you please provide additional details regarding the issues you’re experiencing? Including screenshots and a step-by-step guide to reproduce the problem on your website would greatly aid us in diagnosing and resolving the issue.

    Best regards,

    #593960

    Goldenlion
    Participant

    OK
    I will try…where can I send the fatal error log files to? Because I can’t attach them.

    #593981

    Artem Temos
    Keymaster

    We need access to your website and to logs on the server so we can monitor them in realtime.

    #594237

    Goldenlion
    Participant

    Hello Artem,

    Everything was fine until I did the update of Woodmart to 7.6.0

    I’ll try to describe what is going on:
    When you try to checkout as a customer there is a message warning that something was wrong during checkout. (see https://prnt.sc/_DoUXvO0gIOW)
    So the customer doesn’t go to the succes page. The order is placed in the backend “on hold” (see: https://prnt.sc/d3IxDvq1LkHS)
    No emails were send out (new order confirmation or customers order confirmation).
    When I want to edit this recent order in the backend to change the status to e.g. “in progress” I get the critical error warning (see: https://prnt.sc/sk6rmmtL2iUP)
    When I go back with the browser, the order was set to “in progress” but no email messages were send out.

    When I switch to Storefront, there is no problem and everything works like is should.

    I have added the staging credentials in the Extra Information box. So you can see for the Fatal Error messages yourself.

    I hope you can see what I mean.

    Thanks for your help.

    Best regards,

    Dennis

    #594324

    Artem Temos
    Keymaster

    Hello,

    Please disable any plugins not directly related to our theme and switch to the parent theme temporarily. We will log in to your dashboard and investigate the issue. Please ensure that you only keep the following plugins that are necessary for our theme to work correctly:
    – WoodMart core
    – WooCommerce
    – Elementor/WPBakery Page Builder

    Thank you in advance.

    #594370

    Goldenlion
    Participant

    Hello Artem,

    Done it now.

    Best regards,

    Dennis

    #594372

    Artem Temos
    Keymaster

    We can’t open the checkout page on your website at the moment to complete the order https://gyazo.com/0b9b16a5f12bd3913c1de995f3db65df

    #594378

    Goldenlion
    Participant

    It seems there are still items in the cart after logging in, so you have to delete them firtst.
    Because of the deactivation of the plugin permalink customiser, you can’t do anything with the menu….you only can access products by the home page sliders….

    #594391

    Artem Temos
    Keymaster

    Strange, but we can’t remove this product from the cart. Check this video https://gyazo.com/165b2804fc66e2788103ea34a331e855

    #594395

    Goldenlion
    Participant

    Can you try again, this product was in concept. Now I published it again…

    #594500

    Artem Temos
    Keymaster

    Nothing has changed, so we still can’t remove this product from the cart.

    #594531

    Goldenlion
    Participant

    I don’t understand it either, but now I deleted all shopping carts with Tools from WooCommerce. So now the cart is empty.

    #594546

    Artem Temos
    Keymaster

    We just completed the order on your website without any errors. Here is a screenshot https://gyazo.com/79f540e023882e17ce9277063599807b
    Please test it from your end now.

    #594566

    Goldenlion
    Participant

    Yes, of course! When every plugin is off and only Woodmart is working.
    That was something I could have told you too 😉

    But did you read the fatal error logs (date 2024-08-30) also?
    And as I wrote earlier…. Everything was working fine with all the plugins enabled together with Woodmart version 7.5.2
    Then I updated only Woodmart to 7.6.0 and I got the error. Then there must me changed something in the latest version otherwise I wouldn’t have the issue right?

    #594569

    Artem Temos
    Keymaster

    In this case, the error seems to be related to some of the installed plugins. Try to enable all plugins one-by-one to identify which plugin causes this error.

    #594572

    Goldenlion
    Participant

    That was my first reply in this thread…
    I already found out that when I have all the plugins enabled, but disable Make Email Customizer for WooCommerce Pro the problem is gone.
    But that plugin is not updated recently and Woodmart is.
    So why is the plugin the problem if it happened after an update of Woodmart??
    There must be changed something in Woodmart that causes this conflict.

    #594574

    Artem Temos
    Keymaster

    Sorry, we thought that you didn’t disable this plugin. Please provide us with the FTP access so we can troubleshoot this error.

    #594587

    Goldenlion
    Participant

    I will provide the FTP access as soon as possible. Thank you for looking into it.

    #595004

    Goldenlion
    Participant

    Hello Artem,

    I have added the FTP credentials in the extra information box.

    I hope you can find something to solve the problem.

    Thanks,

    Best regards,

    Dennis

    #595078

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    if ( ! function_exists( 'woodmart_enqueue_emails_styles' ) ) {
    	/**
    	 * Add custom CSS for Woodmart emails.
    	 *
    	 * @param string $css WooCommerce email CSS code.
    	 *
    	 * @return string
    	 */
    	function woodmart_enqueue_emails_styles( $css ) {
    		ob_start();
    		wc_get_template( 'emails/wd-email-styles.php' );
    		$css .= ob_get_clean();
    
    		return $css;
    	}
    
    	add_filter( 'woocommerce_email_styles', 'woodmart_enqueue_emails_styles', 20, 2 );
    }
    #595112

    Goldenlion
    Participant

    Hello Artem,

    Well that seems to work perfectly. Thank you very much.
    I will test it on my other staging sites and then on my life sites.

    Thanks again for helping me solve this problem.

    Best regards,
    Dennis

    #595358

    Artem Temos
    Keymaster

    You are always welcome. Feel free to contact us if you have any further questions.

Viewing 23 posts - 1 through 23 (of 23 total)

The topic ‘Problems processing orders after update to 7.6.0’ is closed to new replies.