• Resolved s2cano

    (@s2cano)


    Hello,
    I was using my website with no ssl and everything was fine.But 5 days ago i buy static ip and ssl then my checkout starting internal server error. My logs:

    2018-10-13T23:58:05+00:00 CRiTiCAL Uncaught Error: Class ‘WC_Order_Item_Product’ not found in /public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php:376
    Stack trace:
    #0 public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(339): WC_Checkout->create_order_line_items(Object(WC_Order), Object(WC_Cart))
    #1 public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1030): WC_Checkout->create_order(Array)
    #2 public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(435): WC_Checkout->process_checkout()
    #3 public_html/wp-includes/class-wp-hook.php(286): WC_AJAX::checkout(”)
    #4 public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #5 public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #6 public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(78): do_action(‘wc_ajax_checkou…’)
    #7 public_html/wp-

    how can i solve this problem. I complete delete and install my webside. Add just woocommerce plugin. You can try checkout, when you click checkout you will see error.
    https://www.sadullahoglu.com

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter s2cano

    (@s2cano)

    any help ?

    Hi, can you provide a screenshot of the error you said you are getting ??

    I just visited your site but the checkout pages are just fine

    Thread Starter s2cano

    (@s2cano)

    no checkout is normal but when you finished and press “siparisi onayla” button you will see error

    Thread Starter s2cano

    (@s2cano)

    https://sadullahoglu.com/issue.jpg this screenshot

    • This reply was modified 6 years, 5 months ago by s2cano.

    hi,
    The thing is when the WooCommerce checkout is processed it requires that gateways return an array (which is then converted into JSON) telling the checkout whether or not it was successful. And some theme own gateways which sometimes breaks when it is not optimised to work with the latest version off Woo.

    Lets roll out the first step:

    1. Change your theme to any of the WordPress default theme (you can use Twenty Seventeen theme as it is always optimised to work with Woo). After you have changed the theme, try to place an order and see if it still returns the error.

    If it does not, you have to contact your theme developer otherwise go to step 2 below.

    2. Update your Woo permalinks

    3. Disable plugins : most times, plugins are the source of performance errors, if step 1 and 2 does not fix the issue, then disable all your plugins (while using the Twenty Seventeen theme) and start by activating the WooCommerce plugin till the very last plugin while trying the checkout after each plugin is activated.

    If you see that the error returns after a plugin was activated then thats the conflict agent there

    You said you have only WooCommerce plugin activated, but I can see from here that you have got other plugin running like column shortcodes, leartes try exchange rates, woo stickers etc…

    Ps: in your shop, can you kindly exclude any country you do not ship to, as this will make it easier for customers to understand your store. I had to try up to 5 different countries before the I count reach the payment page

    Thread Starter s2cano

    (@s2cano)

    Thank you for your answer Christopher, i tried all steps but nothing change.

    SSL can make a problem ? Beacuse before buy SSL everything works fine.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    That’s typically an issue with the payment gateway plugin having an error. Can you try enabling another gateway such as the default PayPal gateway and see if it works?

    Thread Starter s2cano

    (@s2cano)

    Hi Andrew,

    I enable paypal and other gateways. But it didn’t work.. You can try, all gateways open now.
    (Shipping will be Turkey)

    Thread Starter s2cano

    (@s2cano)

    i changed the host. Then my problem is solved.
    Some host provider’s security options block the js files. Thanks everyone..

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Woocommerce Checkout Problem’ is closed to new replies.