• Hello,

    Since upgrading to WooCommerce 2.2.8, customers been unable to check out froma client’s site: http://www.coreswest.com. They get the following error: “Unable to create order. Please try again.”

    I’ve tried disabling and removing plugins, and that didn’t help. I’ve tested checking out as guest, checking out with a new account and checking out with existing account. I’ve tested it in multiple browsers all with the same result.

    Any assistance would be very much appreciated!

    Sincerely,

    Liz Bemis
    Creative Director
    Bemis Promotions
    http://www.bemispromotions.com

    https://wordpress.org/plugins/woocommerce/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Vikram S.

    (@jodhavishalsingh)

    probably your server is not supporting the php session.

    I can’t see any products on the shop page. The page seems to be crashing out at the this point:
    “Call to undefined function mailchimpSF_signup_form()”
    Is mailchimp activated?

    Is there a product that costs nothing for testing?

    Thread Starter bemispromo

    (@bemispromo)

    @lorro, the process dies before you enter your payment information. I’ve removed the sidebar that was causing the mailchimp problem! Let me know if you have any thoughts! THANKS

    Yes, I now get the error you describe.

    On this page:
    http://www.coreswest.com/shop/
    there is a javascript error “undefined is not a function” at line 155. This is a jquery function and yet jquery is loaded in the head. I don’t know what to suggest about this but its obviously worrying.

    Sometimes inactive plugins can leave something behind. In other threads, the USPS and EU VAT plugins have been accused of causing this error. What plugins connected with ordering did you have installed? Maybe one needs updating for WC 2.2.8. Have you checked they are up-to-date, though updating, if necessary may take a while.

    The same “Unable to create order” error message is generated for 8 different errors in
    wp-content/plugins/woocommerce/includes/class-wc-checkout.php.
    It may help track down the error if you numbered them, so we know which one is being triggered.

    Backup the file first as a miss-edit can blank the site, then change:

    throw new Exception( __( 'Error: Unable to create order. Please try again.', 'woocommerce' ) );

    to

    throw new Exception( __( 'Error: Unable to create order_1. Please try again.', 'woocommerce' ) );

    etc x 8.
    This will look odd and prevent the messages from being translated but its only temporary.

    Anything more on this? Having the same issue. I went down the list of the 8 reasons I’m getting the error and it appears it’s due to the “item id”

    I plugged in what you did and that’s what’s causing the error but have no clue what to do to fix it.

    if ( ! $item_id ) {
    throw new Exception( __( ‘Error: Unable to create order_3. Please try again.’, ‘woocommerce’ ) );

    @companzees
    Make sure your theme is up-to-date.

    You can put in

    var_dump($values);

    before the “$item_id =” line, and see which if any items in the value array don’t look right. However, debugging php can be tricky even if you are used to it.

    You might do better with the troubleshooting procedure. Deactivate all plugins except WooCommerce. If the problem resolves, reactivate plugins one-by-one to try to identify the one that is causing the problem. If the problem does not resolve, try switching to the default theme. If you get to the point where you have only WP, WC and the default theme and yet you still have the problem, then you may have a corrupt or incomplete install. Ultimately you may need to export your content and start over. Take a good backup before starting.

    Yeah, I did all of those things before I posted on here. The issue is, what if I spend all that time to export all of my content and it still doesn’t work. Wouldn’t exporting everything export my problem too?

    If I export everything will all my products in the store export too? I just really don’t have a TON of time to have to go in & input every product all over again.

    Without knowing exactly what the problem is I don’t think its possible to say whether the problem would also be exported, but there don’t seem to be many things left that you haven’t tried.

    Consider putting the new install in a subdirectory, so preserving your current site.

    When I did this, I used the export at Admin page > Tools and the import at Import: WordPress option. The products texts transfered OK, then I was offered the option to transfer the site images. This part took a while. The plugin settings don’t get transferred and have to be reset by hand. Of course your experience might differ.

    When the new site is working, point your url at the subdirectory.
    http://codex.wordpress.org/Moving_WordPress

    The alternative is to hire an expert to fix the current site. Unless you know someone, that also carries risks.
    http://jobs.wordpress.net/

    Thread Starter bemispromo

    (@bemispromo)

    @companzees, The error on my site ended up being that WooTax needed to be upgraded. I would check to confirm that you don’t have any ancillary plugins that need to be upgraded due to the latest release of WordPress or WooCommerce! Good Luck!

    I’am facing this error after site transferring from one domain to another. site link is http://hybridsfromhell.net/checkout

    Error.log file error:

    [29-Jun-2015 19:00:23 UTC] WordPress database error Duplicate entry ‘0’ for key ‘PRIMARY’ for query INSERT INTO wp_comments (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content, comment_karma, comment_approved, comment_agent, comment_type, comment_parent, user_id)…….
    I had read many forum but unable to resolve my problem. Is any one have this problem and solution then please help me. I appreciate any kind of help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘WooCommerce 2.2.8: Error: Unable to create order. Please try again.’ is closed to new replies.