Getting 404 error on cart and checkout page
-
I’m getting a page not found error on the cart and checking our page, Theme ASTRA.
The page I need help with: [log in to see the link]
-
Hi @coryjames038,
First, ensure that you haven’t deleted your cart and checkout page. Also, make sure you’ve assigned both pages as the correct cart and checkout page. You can do this by heading over to WooCommerce > Settings > Advanced > Page setup.
If everything looks good, delete the .htaccess file (found in the root of your WordPress installation), and navigate to Settings > Permalinks and hit “Save Changes” without changing anything.
Let us know how that goes. Looking forward to helping you.
Thank you for your response; I just did, but I’m getting the same error again. Please check the attached screenshot. https://snipboard.io/1zGtFU.jpg
Hey, @coryjames038!
Thanks for trying and for the screenshot!
Can you please share a screenshot of WooCommerce > Settings > Advanced > Page setup?
I recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.
Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.Looking forward to your reply.
Have a wonderful day!
Thank you for your response; here are the screenshot for Page Setup. https://snipboard.io/UQehz8.jpg
Here are the system report
` WordPress Environment WordPress address (URL): https://rapideliver.com<br>Site address (URL): https://rapideliver.com<br>WC Version: 8.7.0<br>REST API Version: ? 8.7.0<br>Action Scheduler Version: ? 3.7.2<br>Log Directory Writable: ?<br>WP Version: 6.4.3<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: – Server Environment Server Info: Apache<br>PHP Version: 8.2.16<br>PHP Post Max Size: 516 MB<br>PHP Time Limit: 60<br>PHP Max Input Vars: 1000<br>cURL Version: 8.6.0<br>OpenSSL/1.1.1w SUHOSIN Installed: –<br>MySQL Version: 5.7.23-23<br>Max Upload Size: 512 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database WC Database Version: 8.7.0<br>WC Database Prefix: E7S_<br>Total Database Size: 38.70MB<br>Database Data Size: 35.28MB<br>Database Index Size: 3.42MB<br>E7S_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>E7S_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>E7S_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>E7S_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>E7S_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_actionscheduler_actions: Data: 0.25MB + Index: 0.41MB + Engine InnoDB<br>E7S_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_actionscheduler_logs: Data: 0.19MB + Index: 0.16MB + Engine InnoDB<br>E7S_cartflows_ca_cart_abandonment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>E7S_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_ce4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>E7S_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>E7S_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>E7S_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_nfd_data_event_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>E7S_options: Data: 29.09MB + Index: 0.08MB + Engine InnoDB<br>E7S_postmeta: Data: 2.05MB + Index: 0.64MB + Engine InnoDB<br>E7S_posts: Data: 2.30MB + Index: 0.13MB + Engine InnoDB<br>E7S_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>E7S_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>E7S_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>E7S_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>E7S_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>E7S_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>E7S_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>E7S_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>E7S_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB<br>E7S_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>E7S_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>E7S_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>E7S_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>E7S_wpr_rocket_cache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>E7S_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>E7S_yoast_indexable: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>E7S_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>E7S_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>E7S_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>E7S_yoast_prominent_words: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>E7S_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts attachment: 162<br>custom_css: 4<br>customize_changeset: 3<br>nav_menu_item: 45<br>page: 23<br>post: 24<br>product: 44<br>product_variation: 147<br>revision: 82<br>wp_block: 2<br>wp_global_styles: 3<br>wp_navigation: 1 Security Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (8) Starter Templates: by Brainstorm Force – 4.1.1<br>Imagify: by Imagify – Optimize Images & Convert WebP & Avif – 2.2.0.1<br>Tawk.to Live Chat: by Tawkto – 0.8.2<br>Spectra: by Brainstorm Force – 2.12.6<br>Variation Swatches for WooCommerce: by CartFlows – 1.0.7<br>WooCommerce Offline Credit Card Processing: by WP Lab – 1.7.11<br>WooCommerce: by Automattic – 8.7.0<br>WP Rocket: by WP Media – 3.15.9 Inactive Plugins (3) Yoast SEO: by Team Yoast – 22.3<br>Yoast SEO: WooCommerce: by Team Yoast – 16.1<br>Yoast SEO Premium: by Team Yoast – 22.2 Dropin Plugins () advanced-cache.php: advanced-cache.php Must Use Plugins (2) Endurance Page Cache: by Mike Hansen – 2.2<br>SSO: by Garth Mortensen<br>Mike Hansen – 0.4 Settings API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5) Connected to Woo.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – Logging Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 10 KB WC Pages Shop base: #4975 - /shop-2/<br>Cart: #4976 - /cart-2/<br>Checkout: #4918 - /checkout-2/<br>My account: #4978 - /my-account-2/<br>Terms and conditions: ? Page not set Theme Name: Astra<br>Version: 4.6.8<br>Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme<br>Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme<br>WooCommerce Support: ? Templates Overrides: – Admin Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-03-21 10:21:59 +00:00<br>Options: ?<br>Notes: 74<br>Onboarding: - Action Scheduler Canceled: 1<br>Oldest: 2024-03-18 04:59:58 +0000<br>Newest: 2024-03-18 04:59:58 +0000 Complete: 659<br>Oldest: 2024-02-28 10:22:00 +0000<br>Newest: 2024-03-20 13:22:57 +0000 Failed: 3<br>Oldest: 2024-02-28 10:23:05 +0000<br>Newest: 2024-03-18 14:16:31 +0000 Pending: 3<br>Oldest: 2024-03-20 13:23:57 +0000<br>Newest: 2024-03-25 14:16:31 +0000 Status report information Generated at: 2024-03-20 13:22:57 +00:00<br>`
Here are the Fatal errors
2024-03-18T03:49:52+00:00Critical Uncaught ArgumentCountError: 3 arguments are required, 2 given in /home3/getcredi/public_html/rapideliver/wp-admin/includes/class-bulk-upgrader-skin.php:162 Additional context{ “error”: { “type”: 1, “file”: “\/home3\/getcredi\/public_html\/rapideliver\/wp-admin\/includes\/class-bulk-upgrader-skin.php”, “line”: 162 }, “backtrace”: [ “”, “#0 \/home3\/getcredi\/public_html\/rapideliver\/wp-admin\/includes\/class-bulk-upgrader-skin.php(162): sprintf(‘%1$s installed …’, ‘Ajax Search for…’)”, “#1 \/home3\/getcredi\/public_html\/rapideliver\/wp-content\/themes\/storefront-pro\/inc\/class-tgm-plugin-activation.php(3555): Bulk_Upgrader_Skin->after(‘Ajax Search for…’)”, “#2 \/home3\/getcredi\/public_html\/rapideliver\/wp-admin\/includes\/class-wp-upgrader.php(921): TGMPA_Bulk_Installer_Skin->after()”, “#3 \/home3\/getcredi\/public_html\/rapideliver\/wp-content\/themes\/storefront-pro\/inc\/class-tgm-plugin-activation.php(3175): WP_Upgrader->run(Array)”, “#4 \/home3\/getcredi\/public_html\/rapideliver\/wp-content\/themes\/storefront-pro\/inc\/class-tgm-plugin-activation.php(3280): TGMPA_Bulk_Installer->run(Array)”, “#5 \/home3\/getcredi\/public_html\/rapideliver\/wp-content\/themes\/storefront-pro\/inc\/class-tgm-plugin-activation.php(2894): TGMPA_Bulk_Installer->bulk_install(Array)”, “#6 \/home3\/getcredi\/public_html\/rapideliver\/wp-content\/themes\/storefront-pro\/inc\/class-tgm-plugin-activation.php(658): TGMPA_List_Table->process_bulk_actions()”, “#7 \/home3\/getcredi\/public_html\/rapideliver\/wp-includes\/class-wp-hook.php(324): TGM_Plugin_Activation->install_plugins_page(”)”, “#8 \/home3\/getcredi\/public_html\/rapideliver\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”, “#9 \/home3\/getcredi\/public_html\/rapideliver\/wp-includes\/plugin.php(517): WP_Hook->do_action(Array)”, “#10 \/home3\/getcredi\/public_html\/rapideliver\/wp-admin\/admin.php(259): do_action(‘appearance_page…’)”, “#11 \/home3\/getcredi\/public_html\/rapideliver\/wp-admin\/themes.php(10): require_once(‘\/home3\/getcredi…’)”, “#12 {main}”, “thrown” ] }2024-03-18T16:00:01+00:00Critical Maximum execution time of 60 seconds exceeded Additional context{ “error”: { “type”: 1, “file”: “\/home3\/getcredi\/public_html\/rapideliver\/wp-includes\/class-wp-image-editor-imagick.php”, “line”: 449 }, “backtrace”: [ { “file”: “\/home3\/getcredi\/public_html\/rapideliver\/wp-content\/plugins\/woocommerce\/includes\/class-woocommerce.php”, “line”: 324, “function”: “critical”, “class”: “WC_Logger”, “type”: “->” }, { “function”: “log_errors”, “class”: “WooCommerce”, “type”: “->” } ] }
Hey, @coryjames038! Thanks for sharing the information.
Can you please run a conflict test to see if something external is interfering with this?
To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.
If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.
— Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.
— Also, you can consider using a plugin like Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it is helpful to disable plugins without affecting your current site visitors.
— It is important to consider as well a staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging for quickly spinning up a new test site.
You can find more about this in this guide.
Please let us know about your findings.
Looking forward to your reply.
Have a wonderful day!
Hi @coryjames038,
We’ve not heard back from you in a while, so I’m marking this thread as 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.
Thanks!
- The topic ‘Getting 404 error on cart and checkout page’ is closed to new replies.