• Resolved xeniux

    (@xeniux)


    Hi,

    I keep getting this error message regarding the woocommerce plugin:

    “When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.4.2
    Current theme: Xtocky (version 2.1.0)
    Current plugin: WooCommerce (version 4.2.0)
    PHP version 7.3.17

    Error Details
    =============
    An error of type E_ERROR was caused in line 73 of the file /home/runcloud/webapps/LatestCollections/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php. Error message: Uncaught Error: Call to a member function get() on null in /home/runcloud/webapps/LatestCollections/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php:73
    Stack trace:
    #0 /home/runcloud/webapps/LatestCollections/wp-content/plugins/woocommerce/includes/class-wc-cart.php(610): WC_Cart_Session->get_cart_from_session()
    #1 /home/runcloud/webapps/LatestCollections/wp-content/plugins/sales-pop/src/Platforms/WooCommerce/Data/CartManager.php(61): WC_Cart->get_cart()
    #2 /home/runcloud/webapps/LatestCollections/wp-content/plugins/sales-pop/src/Platforms/WooCommerce/Plugin/Hooks.php(413): BeeketingConnect_beeketing_woocommerce_salespop\Platforms\WooCommerce\Data\CartManager->get(false)
    #3 /home/runcloud/webapps/LatestCollections/wp-content/plugins/sales-pop/src/Platforms/WooCommerce/Plugin/Hooks.php(389): BeeketingConnect_beeketing_woocommerce_salespop\Platforms\WooCommerce\Plugin\Hooks->getPageSnippet()
    #4 /home/runcloud/webapps/LatestCollections/wp-includes/class-wp-hook.php(287): BeeketingConnect_beeketi

    Would you mind to advise on how to resolve the issue?

    Thanks

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    Hi @xeniux

    It sounds like another of your plugins or your theme may be conflicting with the latest version of WooCommerce. You can read more about plugin and theme conflicts in our Self-Service Guide.

    Here’s how you can figure out which one may be causing the problem:

    Before you start

    • First, please make sure you have a good backup in place of your full site and database. Most hosting companies have this included in the subscription, but you could also consider using a service like Jetpack. If something goes wrong, it’s nice to know that you can restore your site.
    • Second, I would suggest to install a plugin called Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it allows you to disable plugins without effecting your current site visitors.

    How to test for conflicts
    In order to test for conflicts using Health Check & Troubleshooting:

    1. Go to Tools > Site Health > Troubleshooting.
    2. Select Enable Troubleshooting Mode. This will disable all your plugins and set your theme to a default one.
    3. Go to Plugins. There you can enable WooCommerce by selecting Enable While Troubleshooting.
    4. Try to reproduce the problem. If the problem is resolved, it’s clearly a conflict. Now we need to figure out which plugin is causing this conflict.
    5. If you can’t reproduce the problem with only WooCommerce enabled, go ahead and re-enable the other plugins one by one. Test after each one until the problem occurs again – this will tell you which plugin is conflicting.
    6. If you are unable to reproduce the problem with the rest of your plugins enabled it could be your theme causing the conflict. To test for this, please enable your original theme at your WordPress Dashboard in the Troubleshooting Mode section at the top (it will look similar to this: https://d.pr/i/bbvkLY). In the Troubleshooting window, you’ll be able to see a dropdown with available themes. Choose the one you normally use. Try reproducing the problem you’re experiencing. If you can reproduce it, your theme is the source of the conflict.

    Once you’ve done that, please check out How to test for plugin and theme conflicts and follow the steps there. Please let us know how that goes.

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Keep getting this error message’ is closed to new replies.