Internal Server Error in cart when trying to make a purchase
-
Hi,
We’re getting an Internal Server Error in cart after trying to make a purchase. Using stripe and a woocommerce subscription plugin. All plugins and theme are up to date, ssl works on all cart pages and throughout site. Switched to wp theme to see if that would solve the issue, but it doesn’t, still getting the error. This started when we updated WooCommerce plugin to 3.0.0 in April. It has stopped the subscriptions from working and we can no longer accept payments. Please note, the site was working fine with no issues for 8 months until that update. Don’t know what else to do, please help.
-
Turn on debug mode in WordPress and get the debug.log for the event.
Also you need to contact your hosting support and request the server error logs for the event (or get them yourself, if you have the access).Here are the errors on that page:
Strict Standards: Declaration of WC_Subscription::get_status() should be compatible with WC_Abstract_Order::get_status($context = ‘view’) in /home/xxxx/public_html/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscription.php on line 15
Strict Standards: Declaration of WCS_Meta_Box_Subscription_Data::save() should be compatible with WC_Meta_Box_Order_Data::save($order_id) in /home/xxxx/public_html/wp-content/plugins/woocommerce-subscriptions/includes/admin/meta-boxes/class-wcs-meta-box-subscription-data.php on line 20
Notice: Undefined index: header_style in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: The called constructor method for WP_Widget in LayerSlider_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /home/xxxx/public_html/wp-includes/functions.php on line 3893Notice: Undefined index: header_style in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: header_style in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: header_style in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: header_style in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: header_style in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: header_style in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: header_style in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: header_style in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 214
Notice: Undefined index: theme_skin in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: bp_is_member is deprecated since version 1.5! Use bp_is_user instead. in /home/xxxx/public_html/wp-includes/functions.php on line 3830
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), get_header, locate_template, load_template, require_once(‘/themes/xxx/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wp_print_head_scripts, do_action(‘wp_print_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Frontend_Scripts::localize_printed_scripts, WC_Frontend_Scripts::localize_script, apply_filters(‘wc_checkout_params’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Checkout::filter_woocommerce_script_paramaters, WC_Subscriptions_Cart::cart_contains_subscription, WC_Subscriptions_Product::is_subscription, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more infor in /home/xxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), get_header, locate_template, load_template, require_once(‘/themes/xxx/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wp_print_head_scripts, do_action(‘wp_print_scripts’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Frontend_Scripts::localize_printed_scripts, WC_Frontend_Scripts::localize_script, apply_filters(‘woocommerce_params’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Checkout::filter_woocommerce_script_paramaters, WC_Subscriptions_Cart::cart_contains_subscription, WC_Subscriptions_Product::is_subscription, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more infor in /home/xxxx/public_html/wp-includes/functions.php on line 4138
Notice: Undefined index: header_style in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: theme_style in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203Notice: Undefined index: directory_layout in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: group_layout in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: profile_layout in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: course_layout in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 203
Notice: Undefined index: theme_skin in /home/xxxx/public_html/wp-content/themes/xxxx/includes/init.php on line 126
class=”page-template-default page page-id-9 page-parent woocommerce-checkout woocommerce-page tribe-no-js tribe-bar-is-disabled logged-out wpb-js-composer js-comp-ver-4.11 vc_responsive”>Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, WC_Cart->calculate_totals, do_action(‘woocommerce_before_calculate_totals’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Cart::add_calculation_price_filter, WC_Subscriptions_Cart::cart_contains_subscription, WC_Subscriptions_Product::is_subscription, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0. in /home/xxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, WC_Cart->calculate_totals, WC_Cart->calculate_shipping, WC_Cart->needs_shipping, apply_filters(‘woocommerce_cart_needs_shipping’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Cart::cart_needs_shipping, WC_Subscriptions_Cart::cart_contains_subscription, WC_Subscriptions_Product::is_subscription, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message in /home/xxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, WC_Cart->calculate_totals, apply_filters(‘woocommerce_calculated_total’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Cart::calculate_subscription_totals, WC_Subscriptions_Cart::cart_contains_subscription, WC_Subscriptions_Product::is_subscription, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/xxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-checkout.php’), do_action(‘woocommerce_before_checkout_form’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Checkout::make_checkout_registration_possible, WC_Subscriptions_Cart::cart_contains_subscription, WC_Subscriptions_Product::is_subscription, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPre in /home/xxxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-checkout.php’), WC_Checkout->get_checkout_fields, apply_filters(‘woocommerce_checkout_fields’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Checkout::make_checkout_account_fields_required, WC_Subscriptions_Cart::cart_contains_subscription, WC_Subscriptions_Product::is_subscription, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debug in /home/xxxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-checkout.php’), do_action(‘woocommerce_checkout_shipping’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Checkout->checkout_form_shipping, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-shipping.php’), WC_Cart->needs_shipping_address, WC_Cart->needs_shipping, apply_filters(‘woocommerce_cart_needs_shipping’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Cart::cart_ in /home/xxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-checkout.php’), do_action(‘woocommerce_checkout_shipping’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Checkout->checkout_form_shipping, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-shipping.php’), WC_Cart->needs_shipping, apply_filters(‘woocommerce_cart_needs_shipping’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Cart::cart_needs_shipping, WC_Subscriptions_ in /home/xxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-checkout.php’), do_action(‘woocommerce_checkout_order_review’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_order_review, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/review-order.php’), WC_Cart->needs_shipping, apply_filters(‘woocommerce_cart_needs_shipping’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Cart::cart_needs_shipping, WC_Subscriptions_Cart::ca in /home/xxxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-checkout.php’), do_action(‘woocommerce_checkout_order_review’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_order_review, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/review-order.php’), do_action(‘woocommerce_review_order_after_order_total’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Cart::display_recurring_totals, WC_Subscriptions_C in /home/xxxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-checkout.php’), do_action(‘woocommerce_checkout_order_review’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_order_review, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/review-order.php’), WC_Cart->get_product_subtotal, apply_filters(‘woocommerce_cart_product_subtotal’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Cart::get_formatted_product_subtotal, WC_Sub in /home/xxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-checkout.php’), do_action(‘woocommerce_checkout_order_review’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_checkout_payment, WC_Payment_Gateways->get_available_payment_gateways, WC_Gateway_COD->is_available, WC_Cart->needs_shipping, apply_filters(‘woocommerce_cart_needs_shipping’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Cart::cart_needs_shipping, WC_Subscriptions_Cart::c in /home/xxxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-checkout.php’), do_action(‘woocommerce_checkout_order_review’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_checkout_payment, WC_Payment_Gateways->get_available_payment_gateways, WC_Gateway_COD->is_available, apply_filters(‘woocommerce_cart_needs_shipping’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Cart::cart_needs_shipping, WC_Subscriptions_Cart::cart_contains_subscription in /home/xxxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-checkout.php’), do_action(‘woocommerce_checkout_order_review’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_checkout_payment, WC_Payment_Gateways->get_available_payment_gateways, apply_filters(‘woocommerce_available_payment_gateways’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Payment_Gateways::get_available_payment_gateways, WC_Subscriptions_Cart::cart_contains_subscription in /home/xxxx/public_html/wp-includes/functions.php on line 4138
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/xxx/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::checkout, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/form-checkout.php’), do_action(‘woocommerce_checkout_order_review’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_checkout_payment, apply_filters(‘woocommerce_order_button_text’), WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions::order_button_text, WC_Subscriptions_Cart::cart_contains_subscription, WC_Subscriptions_Product::is_subscription, WC_Abstract_Legacy_Product->__get, wc_doing_it_ in /home/xxxxx/public_html/wp-includes/functions.php on line 4138
Notice: Undefined index: footer_style in /home/xxxxx/public_html/wp-content/themes/xxx/includes/init.php on line 224
Have you tried disabling Woocommerce Subscriptions plugin and switching to default template?
Just did, and it works now. So I think I’ll have to go to Woo Subscriptions now for assistance.
Thanks!
- The topic ‘Internal Server Error in cart when trying to make a purchase’ is closed to new replies.