• Resolved waynesmall

    (@waynesmall)


    HEy Guys,

    I’ve been chasing a random 404 error that takes place during the checkout process on our church registration site. We use WooCommerce and FooEvents to sell $0 tickets to a church service, so as to comply with COVID-19 requirements of contact tracing should it be discovered that there was an infectious person at a service.

    We’ve been seeing this problem almost weekly for months now, and have only had 1 week where the issue did not present itself. It’s made more complex by virtue of the fact that I personally have not seen the issue when making a booking, and only get told about the site being broken hours after the fact.

    This changed this week however when I was able to see the site in a broken state, and dig a little to find out more.

    What happens is that we have WooCommerce and FooEvents selling “tickets” for $0. The issue occurs during the checkout process at the point where normally you’d get a credit card transaction dialog I believe (have not used WooCommerce before but it makes sense). I’ve noticed that the order will be at a processing stage in WooCommerce at this point when it breaks. It shows the URL for the transaction and then gives a 404. If I then login to the wp-admin site in another tab, and go to save permalinks, and then go back to the original tab and refresh, it refreshes and the order then moves to Completed status, and the person receives their email of order completion etc. The site then continues to work without issues, until at some point it breaks again. I’m very keen to understand how we can resolve this issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    This kind of problem is usually caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Before you start

    1. First, please make sure you have a good backup in place of your full site and database. Most hosting companies have this included in the subscription, but you could also consider using a service like?Jetpack. If something goes wrong, it’s nice to know that you can restore your site.
    2. Second, I would suggest installing a plugin called?Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it allows you to disable plugins without affecting your current site visitors.

    I hope that helps ??

    Thread Starter waynesmall

    (@waynesmall)

    Thanks for your response.

    The problem is very intermittent, and I believe that we are seeing issues with the checkout process specifically for WooCommerce. Most of the orders will process just fine, however randomly, it will fail. I believe I’ve been able to correlate the failure with this error below occuring – ie this error occurs when it fails and then ALL shopping cards will continue to fail with this error until such time as we refresh and save permalinks.

    [13-Mar-2021 22:27:36 UTC] PHP Deprecated: WC_Cart::get_checkout_url is deprecated since version 2.5! Use wc_get_checkout_url instead. in /home/vivi8091/register.vineyardchurch.com.au/wp-includes/functions.php on line 4859

    Any clues as to where to start with this please?

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Now I see! Let’s first check your WooCommerce logs. So please, provide us the following:

    • System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
    • Error log: share a copy of the fatal error log found under WooCommerce > System Status > Logs (if available)

    Thank you!

    Thread Starter waynesmall

    (@waynesmall)

    Thank you again for your response.

    Here’s the system Status report as requested.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://register.vineyardchurch.com.au
    Site address (URL): https://register.vineyardchurch.com.au
    WC Version: 5.0.0
    REST API Version: ? 5.0.0
    WC Blocks Version: ? 4.0.0
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 1.9.0
    Log Directory Writable: ?
    WP Version: ? 5.6.2 - There is a newer version of WordPress available (5.7)
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_AU
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.2.34
    PHP Post Max Size: 64 MB
    PHP Time Limit: 180
    PHP Max Input Vars: 1000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 10.2.37-MariaDB
    Max Upload Size: 32 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.0.0
    WC Database Prefix: wphh_
    Total Database Size: 54.06MB
    Database Data Size: 39.00MB
    Database Index Size: 15.06MB
    wphh_woocommerce_sessions: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
    wphh_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wphh_woocommerce_order_items: Data: 0.17MB + Index: 0.05MB + Engine InnoDB
    wphh_woocommerce_order_itemmeta: Data: 1.52MB + Index: 0.81MB + Engine InnoDB
    wphh_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wphh_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_actionscheduler_actions: Data: 0.20MB + Index: 0.14MB + Engine InnoDB
    wphh_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_actionscheduler_logs: Data: 0.19MB + Index: 0.17MB + Engine InnoDB
    wphh_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_comments: Data: 1.52MB + Index: 0.77MB + Engine InnoDB
    wphh_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_duplicator_pro_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_email_log: Data: 4.52MB + Index: 0.00MB + Engine InnoDB
    wphh_followup_coupons: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_followup_coupon_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wphh_followup_customers: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
    wphh_followup_customer_carts: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wphh_followup_customer_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_followup_customer_orders: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
    wphh_followup_email_excludes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wphh_followup_email_logs: Data: 0.14MB + Index: 0.08MB + Engine InnoDB
    wphh_followup_email_orders: Data: 0.39MB + Index: 0.13MB + Engine InnoDB
    wphh_followup_email_tracking: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
    wphh_followup_followup_history: Data: 1.52MB + Index: 0.17MB + Engine InnoDB
    wphh_followup_order_categories: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
    wphh_followup_order_items: Data: 0.09MB + Index: 0.14MB + Engine InnoDB
    wphh_followup_subscribers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_followup_subscribers_to_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_followup_subscriber_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_fooevents_check_in: Data: 0.13MB + Index: 0.06MB + Engine InnoDB
    wphh_learndash_pro_quiz_category: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_learndash_pro_quiz_form: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_learndash_pro_quiz_lock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_learndash_pro_quiz_master: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_learndash_pro_quiz_prerequisite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_learndash_pro_quiz_question: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_learndash_pro_quiz_statistic: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_learndash_pro_quiz_statistic_ref: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_learndash_pro_quiz_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_learndash_pro_quiz_toplist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_learndash_user_activity: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wphh_learndash_user_activity_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_login_redirects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_nf3_action_meta: Data: 0.22MB + Index: 0.00MB + Engine InnoDB
    wphh_nf3_chunks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_nf3_fields: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wphh_nf3_field_meta: Data: 0.31MB + Index: 0.00MB + Engine InnoDB
    wphh_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_nf3_form_meta: Data: 0.16MB + Index: 0.00MB + Engine InnoDB
    wphh_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_nf3_upgrades: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wphh_options: Data: 3.52MB + Index: 0.13MB + Engine InnoDB
    wphh_podsrel: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wphh_postmeta: Data: 14.52MB + Index: 9.03MB + Engine InnoDB
    wphh_posts: Data: 4.52MB + Index: 0.81MB + Engine InnoDB
    wphh_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wphh_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wphh_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wphh_responsive_menu: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_signups: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wphh_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_usermeta: Data: 1.38MB + Index: 0.08MB + Engine InnoDB
    wphh_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wphh_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_wc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wphh_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_wc_order_product_lookup: Data: 0.20MB + Index: 0.20MB + Engine InnoDB
    wphh_wc_order_stats: Data: 0.19MB + Index: 0.16MB + Engine InnoDB
    wphh_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wphh_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wphh_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wphh_wow_fmp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wphh_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    _pods_field: 3
    _pods_pod: 5
    _pods_template: 1
    attachment: 228
    custom_css: 1
    customize_changeset: 4
    document: 2
    documents: 9
    elementor_library: 1
    et_footer_layout: 1
    et_header_layout: 1
    et_pb_layout: 27
    et_template: 4
    et_theme_builder: 2
    event_magic_tickets: 2076
    follow_up_email: 25
    groups: 1
    nav_menu_item: 6
    nf_sub: 7
    page: 21
    post: 9
    product: 14
    product_variation: 87
    revision: 63
    sfwd-courses: 25
    sfwd-lessons: 5
    sfwd-topic: 13
    shop_order: 1819
    tablepress_table: 15
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?Error messages should not be shown to visitors.
    
    ### Active Plugins (18) ###
    
    Enable Media Replace: by ShortPixel – 3.5.0
    Events Calendar for FooEvents: by FooEvents – 1.6.8
    FooEvents for WooCommerce: by FooEvents – 1.12.16
    FooEvents Express Check-in: by FooEvents – 1.5.0
    Order / Coupon / Subscription Export Import Plugin for WooCommerce (BASIC): by WebToffee – 1.7.3
    Redirection: by John Godley – 5.0.1
    Side Cart WooCommerce: by XootiX – 2.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.com
    DavidAnderson – 1.16.47
    
    User Role Editor: by Vladimir Garagulya – 4.58.3
    W3 Total Cache: by BoldGrid – 2.1.1
    WooCommerce Checkout Field Editor: by WooCommerce – 1.5.36
    WooCommerce Email Test: by RaiserWeb – 1.2.2
    WooCommerce: by Automattic – 5.0.0 (update to version 5.1.0 is available)
    WP File Manager: by mndpsingh287 – 7.1
    WP Mail SMTP: by WPForms – 2.6.0
    WP-Optimize - Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.1.7
    
    WP Server Stats: by Saumya Majumder
    Acnam Infotech – 1.6.10
    
    YITH WooCommerce Barcodes Premium: by YITH – 2.0.8
    
    ### Inactive Plugins (25) ###
    
    Colorlib Login Customizer: by Colorlib – 1.2.98
    Different Menus in Different Pages: by ReCorp – 2.1.4
    Divi LearnDash Kit: by Divi Booster – 1.2.6
    Duplicate Page: by mndpsingh287 – 4.3
    Email Log: by Sudar – 2.4.3
    Facebook for WooCommerce: by Facebook – 2.3.1
    Follow-Up Emails: by WooCommerce – 4.9.7
    FooEvents Custom Attendee Fields: by FooEvents – 1.5.7
    FooEvents PDF Tickets: by FooEvents – 1.7.11
    Google Ads & Marketing by Kliken: by Kliken – 1.0.7
    Gravity Forms: by Gravity Forms – 2.4.22
    Gravity Forms User Registration Add-On: by Gravity Forms – 4.7
    LearnDash LMS: by LearnDash – 3.2.2
    LearnDash LMS - Course Grid: by LearnDash – 1.6.0
    Mailchimp for WooCommerce: by Mailchimp – 2.5.0
    My WordPress Login Logo: by Afsal Rahim – 2.3.3
    Ninja Forms: by Saturday Drive – 3.5.1
    Peter's Login Redirect: by Peter Keung – 2.9.7
    Profile Builder: by Cozmoslabs – 3.3.9
    Really Simple SSL: by Really Simple Plugins – 4.0.9
    Redirect After Login: by marcelotorres – 0.1.9
    User Menus: by Code Atlantic – 1.2.5
    WooCommerce AJAX Cart: by Moises Heberle – 1.3.20
    WP Migrate DB: by Delicious Brains – 1.0.17
    Yoast SEO: by Team Yoast – 15.9
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    maintenance.php: maintenance.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: AUD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: ? Page not set
    Cart: #1930 - /confirm/
    Checkout: #1931 - /checkout/
    My account: #1932 - /my-account-2/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Divi Business
    Version: 1.0
    Author URL: https://divilife.com
    Child Theme: ?
    Parent Theme Name: Divi
    Parent Theme Version: 4.9.0
    Parent Theme Author URL: https://www.elegantthemes.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: divi-business/woocommerce/checkout/cart-errors.php
    divi-business/woocommerce/checkout/form-billing.php
    divi-business/woocommerce/checkout/form-checkout.php
    divi-business/woocommerce/checkout/form-coupon.php
    divi-business/woocommerce/checkout/form-login.php
    divi-business/woocommerce/checkout/form-pay.php
    divi-business/woocommerce/checkout/form-shipping.php
    divi-business/woocommerce/checkout/order-receipt.php
    divi-business/woocommerce/checkout/payment-method.php
    divi-business/woocommerce/checkout/payment.php
    divi-business/woocommerce/checkout/review-order.php
    divi-business/woocommerce/checkout/terms.php
    divi-business/woocommerce/checkout/thankyou.php
    
    ### Action Scheduler ###
    
    Complete: 651
    Oldest: 2021-02-18 12:12:13 +1100
    Newest: 2021-03-20 21:02:56 +1100
    
    Pending: 1
    Oldest: 2021-03-21 15:40:57 +1100
    Newest: 2021-03-21 15:40:57 +1100
    
    

    I don’t have a current Error Log – I need to check with the developer as I think he reset them. This week (so far) we have not had an error so he might have found the funky deprecated URL that is causing us pain.

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi Wayne ?? !

    Thank you for sharing those logs with us. Glad to know that the error hasn’t shown up this week.

    Upon checking your site log, I can see that you are using the WooCommerce Checkout Field Editor plugin, and that let me know that you have a valid subscription with us. ??

    That being said, please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.

    Please include a link to this forum thread, so that we can keep track of what’s already been done.

    We will be able to help you further there.

    Cheers!

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Since it’s been a while since we last heard back from you, I’m going to mark this thread resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Cheers! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Random 404 during checkout process’ is closed to new replies.