• Hi!

    I have a coming and going 404 error that I’ve been getting for the last year or so. I had a coming and going critical error that I’ve recently found through WP Debugging plugin. Would there be a way to find out how to fix this error bellow? I copied it from the Debug file. Please see below:

    [26-Mar-2025 22:11:57 UTC] PHP Notice: Undefined offset: 0 in /home/qawqu2nootuh/public_html/wp-content/plugins/woocommerce/includes/tracks/class-wc-tracks.php on line 78 [26-Mar-2025 22:11:59 UTC] PHP Notice: Undefined offset: 0 in /home/qawqu2nootuh/public_html/wp-content/plugins/woocommerce/includes/tracks/class-wc-tracks.php on line 78 [26-Mar-2025 22:12:17 UTC] PHP Notice: Undefined offset: 0 in /home/qawqu2nootuh/public_html/wp-content/plugins/woocommerce/includes/tracks/class-wc-tracks.php on line 78 [26-Mar-2025 22:12:26 UTC] PHP Notice: Undefined offset: 0 in /home/qawqu2nootuh/public_html/wp-content/plugins/woocommerce/includes/tracks/class-wc-tracks.php on line 78 [26-Mar-2025 22:12:26 UTC] PHP Notice: Undefined offset: 0 in /home/qawqu2nootuh/public_html/wp-content/plugins/woocommerce/includes/tracks/class-wc-tracks.php on line 78 [26-Mar-2025 22:12:26 UTC] PHP Notice: Undefined offset: 0 in /home/qawqu2nootuh/public_html/wp-content/plugins/woocommerce/includes/tracks/class-wc-tracks.php on line 78 [26-Mar-2025 22:13:19 UTC] PHP Notice: Undefined offset: 0 in /home/qawqu2nootuh/public_html/wp-content/plugins/woocommerce/includes/tracks/class-wc-tracks.php on line 78

    Thank you so much,

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter nailtime

    (@nailtime)

    Oh sorry I also forgot to mention, the error is only on my back end, and never on the front page – like customer side.

    I had a coming and going critical error that I’ve recently found through WP Debugging plugin.

    Can you provide the relevant portion of your log showing this “critical error”?

    The log messages you provided are just PHP Notices.

    Oh sorry I also forgot to mention, the error is only on my back end, and never on the front page – like customer side.

    If you’re seeing the “404” and “Critical error” while using the WooCommerce plugin, then I’ll recommend posting in the plugin’s dedicated support forum so its authors and user community can assist you: https://ww.wp.xz.cn/support/plugin/woocommerce/

    Thread Starter nailtime

    (@nailtime)

    hi George, thanks for the reply!

    Oh sorry I was in the middle of doing the WP Debug while I started to write this thread then forgot to change it. My error is now 404. I found where the critical error was coming from and deactivated the plug-in related to it. The critical error is gone!

    So now I’m just left with the 404 error. 😂

    According to the error code , would you be able to tell if it’s from woo commerce? And yes I am using woocommerce.

    • This reply was modified 1 year, 2 months ago by nailtime.
    Moderator threadi

    (@threadi)

    The fact that the notice (no error) is caused by WooCommerce can be recognized by the paths in the error log.

    [..]gins/woocommerce/inc[..]
    Moderator bcworkz

    (@bcworkz)

    There are two kinds of 404 responses. The “hard” kind that results in a server generated error page, and the “soft” kind that results in a WP generated “Nothing found” error page. Which is it? If the hard kind, it’s due to a server configuration issue. WP is not even involved. If the soft kind, the cause is usually because the related SQL query failed to find any result. What are you requesting when you get this 404 response?

    Looking at the actual SQL query can sometimes reveal why the query failed. If you use a classic theme, you can have the 404 page reveal the SQL by adding the following to your theme’s 404.php template:

    <?php
    global $wp_query;
    echo '<pre>SQL query:<br>', $wp_query->request, '</pre>';
    ?>

    The <?php ?> tags must not be nested. If where you want to insert this code is already PHP code, do not include the above tags with what you insert.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘404 errors coming and going’ is closed to new replies.