• Resolved ayemaimtiaz

    (@ayemaimtiaz)


    I am getting 404 error after the checkout page. tried everything but it did’nt work. This is the log error i get under woocommerce > status > log

    ` 2024-10-30T06:11:18+00:00 Critical Uncaught Error: Class "Automattic\WooCommerce\Admin\Notes\WC_Site_Tracking" not found in /home/esseimkz/public_html/wp-content/plugins/woocommerce/src/Admin/Notes/Notes.php:426  
    Additional context
    {
    "error": {
    "type": 1,
    "file": "/home/esseimkz/public_html/wp-content/plugins/woocommerce/src/Admin/Notes/Notes.php",
    "line": 426
    },
    "backtrace": [
    "",
    "#0 /home/esseimkz/public_html/wp-content/plugins/woocommerce/src/Admin/Notes/Notes.php(389): Automattic\WooCommerce\Admin\Notes\Notes::record_tracks_event_without_cookies()",
    "#1 /home/esseimkz/public_html/wp-content/plugins/woocommerce/src/Admin/API/NoteActions.php(82): Automattic\WooCommerce\Admin\Notes\Notes::trigger_note_action()",
    "#2 /home/esseimkz/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): Automattic\WooCommerce\Admin\API\NoteActions->trigger_note_action()",
    "#3 /home/esseimkz/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()",
    "#4 /home/esseimkz/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()",
    "#5 /home/esseimkz/public_html/wp-includes/rest-api.php(420): WP_REST_Server->serve_request()",
    "#6 /home/esseimkz/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded()",
    "#7 /home/esseimkz/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()",
    "#8 /home/esseimkz/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()",
    "#9 /home/esseimkz/public_html/wp-includes/class-wp.php(418): do_action_ref_array()",
    "#10 /home/esseimkz/public_html/wp-includes/class-wp.php(813): WP->parse_request()",
    "#11 /home/esseimkz/public_html/wp-includes/functions.php(1336): WP->main()",
    "#12 /home/esseimkz/public_html/wp-blog-header.php(16): wp()",
    "#13 /home/esseimkz/public_html/index.php(17): require('/home/esseimkz/...')",
    "#14 {main}",
    "thrown"
    ]
    }
Viewing 1 replies (of 1 total)
  • Hey @ayemaimtiaz ,

    It looks like you’re redirected to a 404 error page after completing a purchase, correct?

    Does this happen with various payment methods on checkout, or only a specific payment method? If you’re unsure, can you please place a test order using a different payment method, like Cash on Delivery, and see if this resolves the issue? This will help us narrow down if the issue is caused by the Payment gateway or something else.

    In the meantime, can you navigate to WooCommerce →  Settings →  Advanced → Page setup tab, and share a clear screenshot of the “Checkout endpoints” area:

    If you don’t already have a screenshot tool installed, Snipboard.io can be used for easily sharing screenshots. Please follow the instructions on that page, then paste the URL in your reply here.

    Lastly, please share a copy of your sites System Status Report which you can find via WooCommerce → Status. Select Get system report and then Copy for Support.

    Cheers!

Viewing 1 replies (of 1 total)

The topic ‘Getting 404 error after checkout’ is closed to new replies.