!!!URGENT: Website got critical bugs, add to cart & checkout & products

This topic has 21 replies, 3 voices, and was last updated 1 months, 3 weeks ago ago by Jamall

  • Avatar: Jamall
    Jamall
    Participant
    April 29, 2025 at 07:50
    Please, contact administrator
    for this information.
    20 Answers
    Avatar: Alex Carter
    Alex Carter
    Support staff
    April 29, 2025 at 08:15

    Hello,

    Thank you for reaching out to us.

    – We recommend that you disable all third-party plugins that are not included with XStore (https://www.8theme.com/documentation/xstore/plugins/included-plugins/). After doing so, please clear your browser’s cache and check again. It is possible that one of these additional plugins is causing the issue.

    – Could you please test if the same issue occurs when using a default theme, such as Storefront? (go to Appearance > Themes > Install and activate Storefront).
    If the behavior continues regardless of the theme being used, it suggests that the problem may not be related to the theme itself. In this case, we would recommend you contact support of woocommerce plugin – https://wordpress.org/support/plugin/woocommerce/

    Warm Regards,
    The 8Theme Team

    Avatar: Jamall
    Jamall
    Participant
    April 29, 2025 at 09:13

    Hello, we transferred our website from our old host to a new one today, and we weren’t experiencing these bugs before, so we’re pretty sure the problem isn’t caused by a third party plugin. Also, regarding this “please clear your browser’s cache,” I use Incognito to check, and that’s not the issue either..

    Do you have any other ideas as to what might be causing this? Our new host, to whom we transferred the website, said we should contact you.

    Avatar: Jamall
    Jamall
    Participant
    April 29, 2025 at 09:19

    I asked chat gpt and he gave me this:

    1. Session or Cookie Handling Issues

    WooCommerce relies on PHP sessions and cookies to track cart contents.
    • Make sure PHP sessions are enabled on the new server.
    • Ensure cookies are being properly set — especially if the site now uses HTTPS (SSL).
    • Test by checking browser cookies (DevTools → Application → Cookies). You should see values like woocommerce_cart_hash, woocommerce_items_in_cart, and wp_woocommerce_session_….

    2. Caching or CDN Conflicts (Very Common)

    If server-side caching or a CDN is enabled (e.g., Cloudflare, LiteSpeed Cache):
    • Temporarily disable all caching plugins (e.g., WP Rocket, LiteSpeed Cache).
    • Make sure pages like /cart, /checkout, and /my-account are excluded from caching.
    • In LiteSpeed Cache, go to the cache settings and exclude those pages explicitly.

    3. Mixed Content / HTTPS Issues

    If the site is now using HTTPS but still loading resources or setting cookies via HTTP:
    • Check that both WordPress URL and Site URL are set to HTTPS in Settings → General.
    • Use a plugin like Really Simple SSL to enforce proper redirection and fix mixed content.

    4. Permalink or .htaccess Issues

    Sometimes permalink settings break during migration:
    • Go to Settings → Permalinks and simply click “Save Changes” to regenerate .htaccess.
    • Ensure .htaccess is writable and updated correctly.

    5. Theme or Plugin Conflicts

    Some themes or plugins may behave differently on the new host:
    • Test with a default theme like Storefront or Twenty Twenty-One.
    • Deactivate all plugins except WooCommerce, then test the cart function.

    Avatar: Alex Carter
    Alex Carter
    Support staff
    April 29, 2025 at 09:56

    Dear Customer,

    We understand that you have received a set of recommendations both from our team and from ChatGPT. Some of the suggested points overlap, such as:
    – Cookies
    – Cache
    – Server-related settings, CDN (contact your hosting provider)
    – HTTP/htaccess (contact your hosting provider)
    – Default theme

    At this stage, we kindly ask you to clear the cache and perform the necessary tests, rather than relying solely on ChatGPT for further input.

    It is time to follow the provided recommendations. Please implement the suggested steps and share the results with us here. We kindly ask that you do not dismiss our advice without conducting the appropriate testing.

    Best regards,
    8Theme Team

    Avatar: Jamall
    Jamall
    Participant
    April 29, 2025 at 10:40

    So we have deactivated all plugins except the 4 main plugins as you said and now it works with the add to cart thing, but the critical errors when trying to open a blog live on the site, or when trying to create a new blog in WordPress still exist (see picture).

    Files is visible for topic creator and
    support staff only.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    April 29, 2025 at 10:44

    Hello,

    We’re glad to hear that the issue with the “Add to Cart” functionality has been resolved after deactivating the additional plugins. Regarding the critical errors you’re experiencing when accessing or creating blog posts, we kindly ask you to enable WordPress debug mode so we can better understand the source of the issue.

    To do this, please follow these steps:

    1. Connect to your website via FTP or use the File Manager in your hosting control panel.
    2. Locate the wp-config.php file in the root directory of your WordPress installation.
    3. Add the following lines before the line that says /* That’s all, stop editing! Happy publishing. */:

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

    4. Save the changes and try to reproduce the error again.

    After that, please check the debug.log file located in the /wp-content/ directory and share the contents with us. This will help us identify the cause of the critical error and provide a more accurate solution.

    We appreciate your cooperation and look forward to resolving this issue for you as soon as possible.

    Warm Regards,
    The 8Theme Team

    Avatar: Jamall
    Jamall
    Participant
    April 29, 2025 at 11:33

    Here is what you asked for, see image

    Files is visible for topic creator and
    support staff only.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    April 29, 2025 at 12:26

    Hello,

    It appears that you have provided only a portion of the file. The notices you mentioned are not critical; we are more interested in any information related to a fatal error.

    Please try opening the following page after enabling debug mode: https://prnt.sc/m3FMt-xd3_6K . Once debug mode is active, more detailed information about the error should appear.

    Kindly provide us with direct links to the problematic pages you are referring to, rather than just screenshots. Additionally, please keep debug mode enabled until the issue is fully resolved.

    Warm Regards,
    The 8Theme Team

    Avatar: Jamall
    Jamall
    Participant
    April 29, 2025 at 12:36

    Private content area..

    Please contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    Avatar: Jamall
    Jamall
    Participant
    April 29, 2025 at 13:45

    d

    Please contact administrator
    for this information.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    April 29, 2025 at 14:01

    Hello,

    We appreciate your prompt response.

    Could you please provide FTP access? We will check what can be done to help you.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Warm Regards,
    The 8Theme Team

    Avatar: Alex Carter
    Alex Carter
    Support staff
    April 29, 2025 at 14:12

    Hello,

    We have tested the following URL on your website: https://your_site/wp-admin/post-new.php with a different theme activated, and the issue still persists. This indicates that the problem is not caused by our theme.

    Additionally, the fatal error log, which you can find under WooCommerce > Status > Logs, references an issue related to the Elementor plugin. As we can see, you are using the Elementor Pro plugin, so we kindly recommend reaching out to their support team for further assistance.

    Warm Regards,
    The 8Theme Team

    Avatar: Jamall
    Jamall
    Participant
    April 29, 2025 at 15:16

    But before we transferred our site from the old server to the new host, everything worked without a hitch…. Do you still want FTP access? We would appreciate your help.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 29, 2025 at 15:36

    Hello, Jamall

    Yes, we do require FTP access. Please make sure that the access you provide is for the website where the issue is occurring.

    Best regards,
    8Theme Team

    Avatar: Jamall
    Jamall
    Participant
    April 30, 2025 at 07:41

    Private content area….

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 30, 2025 at 16:47

    Hello, Jamall,

    We have investigated the issue and found that the debug log was not being generated due to the following reasons:

    – In the wp-config.php file, there was a duplication in the declaration of the WP_DEBUG_LOG constant.
    – Additionally, there was a syntax error in the declaration of the WP_DEBUG_LOG constant.
    – The log file path had been modified, but it was not functioning correctly due to the aforementioned issues with constant declarations.

    We have corrected these problems, and the debug log is now working properly. Based on the logs, we have identified the root cause of the error, which appears to be related to the following plugins:

    – google-listings-and-ads
    – WooCommerce

    These issues persist even when using a default theme.

    While the error caused by the google-listings-and-ads plugin can be resolved by simply deactivating the plugin, the issue with WooCommerce is more complex. It appears that the Action Scheduler is attempting to claim a resource with ID 0, which is an invalid value (as it typically indicates an unset or null reference).

    Possible causes of this issue include:

    1. A corrupted Action Scheduler database — particularly the tables wp_actionscheduler_claims, wp_actionscheduler_actions, and wp_actionscheduler_logs.
    2. Caching or table locking — potentially caused by caching plugins or database-related issues.
    3. After a site migration, the table structure may not have been updated correctly, or a cache with claim ID 0 may have remained.

    We hope this information is helpful in resolving the issue.

    Best regards,
    8Theme’s Team

    Files is visible for topic creator and
    support staff only.
    Avatar: Jamall
    Jamall
    Participant
    May 5, 2025 at 13:14

    hello, Can you fix this? Our hosting provider isn’t responding, and we don’t know why.

    We’re willing to pay for the fix, if necessary. We’re confident you’ll definitely get it fixed.

    Avatar: Jamall
    Jamall
    Participant
    May 7, 2025 at 16:29

    update here, all good, issue solved by hosting provider.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    May 8, 2025 at 09:21

    Hello, Jamall,

    Thank you for your update. We’re glad to hear that everything is working well now and that the issue has been successfully resolved by your hosting provider.

    Best Regards,
    8Theme’s Team

    Avatar: Jamall
    Jamall
    Participant
    May 8, 2025 at 14:32

    Thanks for the support! My topic “!!!URGENT: Website got critical bugs, add to cart & checkout & products” has been successfully resolved.

  • Viewing 21 results - 1 through 21 (of 21 total)

The issue related to '‘!!!URGENT: Website got critical bugs, add to cart & checkout & products’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.