• Resolved LawrenceMa11nsn

    (@awrencema11nsn)


    a few weeks back our site stopped allowing the editing of Products in Woo returning just a white screen after a brief second long preview of the product edit screen. the logs point to Error 401, and to resolve this I have created REST API keys, in Woo (I feel like I am missing something and that these keys should be taken and entered somewhere but nothing I’ve seen has told me about this.) Even Installing Woo’s Legacy REST plugin has no effect on my problem.

    • This topic was modified 11 months ago by LawrenceMa11nsn. Reason: typo, add tags
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there,

    Thanks for reaching out! To help investigate this issue further, could you please provide the following details:

    1. A screenshot of the error message (or the white screen behavior) you see when trying to edit a product — that will give us more context.
    2. Are you currently using the Classic Product Editor or the new Beta Product Editor introduced in recent WooCommerce versions?

    Also, 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
    • Fatal error logs (if any) under WooCommerce > Status > Logs.

    Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further.

    Thread Starter LawrenceMa11nsn

    (@awrencema11nsn)

    Hi @awrencema11nsn,

    Thank you for sharing the system status report. Could you also please share a screenshot of the issue and fetal error logs as requested earlier?

    Thank you.

    Thread Starter LawrenceMa11nsn

    (@awrencema11nsn)

    This is what I get from wordpress as far as errors go when trying to edit a product, I don’t think that they are the cause, just a result of the error. I had to be very quick on the “Print Screen” button to catch that as it goes blank immediately. Since my last posting I have acquired a fatal error, attached

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the screenshot of the error log.

    After reviewing the errors, I can confirm that none of them appear to be directly related to WooCommerce. Instead, the notices are related to translation and deprecated code usage from the following plugins:

    • Better Robots.txt – Index, Rank & SEO Booster
    • Five Star Business Profile and Schema
    • Cart Recovery for WordPress

    Additionally, the fatal error is coming from your theme envo-ecommerce, which is trying to call the get_cart_contents_count() function on a null object. This function should be called on a valid WC_Cart object (e.g., WC()->cart->get_cart_contents_count()), but it seems WC()->cart is not yet initialized when the theme tries to use it.

    To troubleshoot this further, I recommend running a conflict test:

    1. Deactivate all plugins except WooCommerce.
    2. Switch to a default theme like Twenty Twenty-Four or Twenty Twenty-Five.
    3. Check if the issue persists.

    To do this safely without affecting your live site, you can create a staging site using the following plugin:

    🔗 WP Staging – Backup Cloning Migration

    Let me know how it goes

    Plugin Support Feten L. a11n

    (@fetenlakhal)

    Hi there,

    As we haven’t had any updates, I’ll assume this is resolved and close the thread. Feel free to reconnect anytime.

    Apart from this, if you’re happy with our plugin and the support you’ve received, we’d really appreciate a review: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/#new-post

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

The topic ‘WSoD REST problem’ is closed to new replies.