-
Author
-
November 3, 2017 at 18:54 #178859olufemishieldParticipant
Hi, I just noticed my store redirects people to page 404 after order for a product is made at checkout.
Though the product gets ordered but instead of redirecting to store “my-account” page, it redirects to page 404.
I enquired from my host provider and they were able to send a log of the problem below.
COPY CODE[03-Nov-2017 15:07:45 UTC] is_internal_meta_key was called incorrectly. Generic add/update/get meta methods should not be used for internal meta data, including "_subscription_switch_data". Use getters and setters. 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, call_user_func_array, WC_AJAX::do_wc_ajax, do_action('wc_ajax_checkout'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_AJAX::checkout, WC_Checkout->process_checkout, do_action('woocommerce_checkout_order_processed'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Subscriptions_Checkout::process_checkout, WC_Subscriptions_Checkout::create_subscription, wcs_copy_order_meta, wcs_set_objects_property, WC_Data->update_meta_data, WC_Data->add_meta_data, WC_Data->is_internal_meta_key, wc_doing_it_wrong. This message was added in version 3.2.0. [03-Nov-2017 15:07:45 UTC] The The "woocommerce_add_order_item_meta" hook uses out of date data structures and function is deprecated since version 3.2.3. Replace with woocommerce_new_order_item.
November 4, 2017 at 16:43 #178906Kieran_SQModeratorHi,
Thanks for contacting us about issues you’re having with 404 errors. You stated you were receiving 404 Errors, is this still the case or are you only getting the one error now regarding WC_Cart::get_cart_url?
We no longer use WC_Cart::get_cart_url in the theme instead we use wc_get_cart_url as per the debugger suggestion. You should try completely purging your site’s cache, CDN and local cache to see if this continues.
If all you are now receiving is a printed error on the front-end and not a 404 you could try turning off error reporting on the front-end. You can read more on doing this here https://aristath.github.io/blog/wp-hide-php-errors.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
November 5, 2017 at 00:00 #178926olufemishieldParticipantHi Kieran, the problem now is that it doesn’t show anything at checkout and no product is ordered.
November 5, 2017 at 03:20 #178931olufemishieldParticipantI also deleted the cart page and recreated it and I have the same issue with the cart page (displays no content and shows a second error)
Notice: WC_Cart::get_cart_url is deprecated since version 2.5! Use wc_get_cart_url instead. in /home/houseofshield/public_html/wp-includes/functions.php on line 3831
Notice: WC_Cart::get_checkout_url is deprecated since version 2.5! Use wc_get_checkout_url instead. in /home/houseofshield/public_html/wp-includes/functions.php on line 3831
November 5, 2017 at 15:54 #178959Kieran_SQModeratorHi,
Please update this ticket with an admin username and password that I can use to access your site.
Also, please share with me your latest PHP error log for the last 48hrs, if this is a large amount of text please upload it in a .txt file
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
-
AuthorPosts
The forum ‘Plugins questions’ is closed to new topics and replies.