• Resolved mkussin

    (@mkussin)


    Hello,

    we have since the last WooCommerce update a problem with the ajax checkout.

    This is what is written into the error.log:
    sku was called incorrectly. Produkteigenschaften sollten nicht direkt abgerufen werden. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_checkout'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_Gateway_BACS->process_payment, WC_Order->update_status, WC_Order->save, WC_Abstract_Order->save, do_action('woocommerce_after_order_object_save'), WP_Hook->do_action, WP_Hook->apply_filters, Vendidero\\Germanized\\Shipments\\Automation::Vendidero\\Germanized\\Shipments\\{closure}, Vendidero\\Germanized\\Shipments\\Automation::maybe_create_shipments, Vendidero\\Germanized\\Shipments\\Automation::create_shipments, wc_gzd_create_shipment, Vendidero\\Germanized\\Shipments\\Shipment->save, Vendidero\\Germanized\\Shipments\\Shipment->status_transition, do_action('woocommerce_gzd_shipment_status_changed'), WP_Hook->do_action, WP_Hook->apply_filters, Vendidero\\Germanized\\Shipments\\Validation::maybe_update_order_date_shipped, Vendidero\\Germanized\\Shipments\\Validation::check_order_shipped, WC_Order->save, WC_Abstract_Order->save, do_action('woocommerce_after_order_object_save'), WP_Hook->do_action, WP_Hook->apply_filters, Vendidero\\Germanized\\Shipments\\Automation::Vendidero\\Germanized\\Shipments\\{closure}, Vendidero\\Germanized\\Shipments\\Automation::maybe_create_shipments, Vendidero\\Germanized\\Shipments\\Automation::create_shipments, wc_gzd_create_shipment, Vendidero\\Germanized\\Shipments\\Shipment->save, Vendidero\\Germanized\\Shipments\\

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author vendidero

    (@vendidero)

    Thanks for reporting – I will look into this. This is only a warning (which should not be triggered within live environments) so make sure you have WP_DEBUG disabled and php error reporting set to a reasonable value.

    Cheers

    Thread Starter mkussin

    (@mkussin)

    Thanks. It’s only in the php error log file.
    But the customer can’t finish the checkout because the ajax-call returns an 500 error.
    With disabled germanized plugin it works as usual.

    Plugin Author vendidero

    (@vendidero)

    Hi there,

    seems like the issue is actually caused by another plugin/extension. Please try to deactivate all plugins but Woo and Germanized and try again. Germanized just calls the order save method which might trigger hooks used by other extensions too. Maybe you could delete your logs and then check the log files again to see which (fatal) error produces the actual 500 code.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘sku was called incorrectly’ is closed to new replies.