• Resolved paulchrisjones

    (@paulchrisjones)


    People are telling me they can’t buy things from my site anymore, because when they click ‘Add to cart’ and then ‘Purchase’, the site shows a page that says ‘Checkout: Your cart is empty’.

    Here is the System Info:

    ### Begin System Info ###

    — Site Info

    Site URL: https://www.pauljonesblog.com
    Home URL: https://www.pauljonesblog.com
    Multisite: No

    — Hosting Provider

    Host: DBH: localhost, SRV: https://www.pauljonesblog.com

    — User Browser

    Platform: Linux
    Browser Name: Firefox
    Browser Version: 69.0
    User Agent String: Mozilla/5.0 (X11; Ubuntu; Linux
    x86_64; rv:69.0) Gecko/20100101
    Firefox/69.0

    — WordPress Configuration

    Version: 4.9.10
    Language: en_US
    Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
    Active Theme: Colormag Child 1.0.1
    Parent Theme: ColorMag 1.2.0
    Show On Front: posts
    ABSPATH: /home1/searcio7/public_html/pauljonesblog/
    Remote Post: wp_remote_post() works
    Table Prefix: Length: 8 Status: Acceptable
    WP_DEBUG: Disabled
    Memory Limit: 40M
    Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, refunded, failed, revoked, abandoned, processing, active, inactive

    — EDD Configuration

    Version: 2.8.19
    Upgraded From: None
    Test Mode: Disabled
    AJAX: Enabled
    Guest Checkout: Enabled
    Symlinks: Disabled
    Download Method: Direct
    Currency Code: USD
    Currency Position: before
    Decimal Separator: .
    Thousands Separator: ,
    Upgrades Completed: upgrade_payment_taxes,upgrade_customer_payments_association,upgrade_user_api_keys,remove_refunded_sale_logs
    Download Link Expiration: 999999 hour(s)

    — EDD Page Configuration

    Checkout: Valid
    Checkout Page: https://www.pauljonesblog.com/checkout/
    Success Page: https://www.pauljonesblog.com/checkout/purchase-confirmation/
    Failure Page: https://www.pauljonesblog.com/checkout/transaction-failed/
    Downloads Slug: /downloads

    — EDD Gateway Configuration

    Enabled Gateways: PayPal Standard
    Default Gateway: PayPal Standard

    — EDD Tax Configuration

    Taxes: Disabled
    Tax Rate: 0
    Display On Checkout: Not Displayed
    Prices Include Tax: No

    — Must-Use Plugins

    SSO: 0.1

    — WordPress Active Plugins

    Easy Digital Downloads: 2.8.19 (needs update – 2.9.16)

    — WordPress Inactive Plugins

    Akismet Anti-Spam: 4.1 (needs update – 4.1.2)
    Code Prettify: 1.4.2
    Jetpack by WordPress.com: 7.1.1
    Loco Translate: 2.0.14 (needs update – 2.3.0)
    Quick Featured Images: 12.3.5 (needs update – 13.3.4)
    Quotes: 1.0.0
    Redirection: 3.6.3 (needs update – 4.3.3)
    Smush: 3.2.4
    WP Super Cache: 1.4.9 (needs update – 1.7.0)

    — Webserver Configuration

    PHP Version: 7.3.9
    MySQL Version: 5.6.41
    Webserver Info: Apache

    — PHP Configuration

    Memory Limit: 256M
    Upload Max Size: 256M
    Post Max Size: 260M
    Upload Max Filesize: 256M
    Time Limit: 30
    Max Input Vars: 1000
    Display Errors: N/A
    PHP Arg Separator: &

    — PHP Extensions

    cURL: Supported
    fsockopen: Supported
    SOAP Client: Installed
    Suhosin: Not Installed

    — Session Configuration

    EDD Use Sessions: Enabled
    Session: Disabled

    ### End System Info ###<footer><cite></cite></footer>

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @paulchrisjones

    Thanks for your detailed response. I am also facing the same issue on your website.

    At primary stage it looks like that It can be the issue of caching. You are using caching plugin “WP Super Cache”.

    First check by deactivating the plugin to confirm the cache issue.

    Here is the EDD documentation for WP Super Cache plugin
    https://docs.easydigitaldownloads.com/article/297-wp-super-cache

    I hope it helps you ??

    Thread Starter paulchrisjones

    (@paulchrisjones)

    Hi Pratik, thanks for your reply. I tried disabling all the plugins but the problem still persists.

    Hi @paulchrisjones

    Have you checked the EDD documentation for WP Super Cache plugin which I have provided you?

    I have checked your website product page, press the “Add to Cart” button. It shows me checkout. When I refresh the page it again shows me to “Add to Cart” product.

    When we press buy button again it shows 2 quantity in Ajax response. It means cart have data so this can be the case of caching. Please refer below screenshot.

    https://prntscr.com/p45kus

    Please take a look at the documentation https://docs.easydigitaldownloads.com/article/297-wp-super-cache may this help OR sometime caching is also enabled from hosting provider. You can also contact them about the caching issue.

    I hope you will surely get some insight.

    Thread Starter paulchrisjones

    (@paulchrisjones)

    Hi Pratik,

    I have tried nearly everything now. I turned off Jetpack’s Site Accelerator, I deleted WP Super Cache, I got my host provider to cleared the cache from the server end, I even I changed my WordPress theme. Nothing solved the problem.

    The only idea I have left is to delete and reinstall the Easy Digital Downloads plugin.

    Paul

    Hi @paulchrisjones

    Thanks for your response. I did not think so that reinstalling EDD will resolve this issue.

    Have you asked your hosting provider to stop the server side caching?

    Thread Starter paulchrisjones

    (@paulchrisjones)

    Hi Pratik,

    I got the hosting provider (Bluehost) to stop server side caching. However my problem still persists.

    I think the problem is with the cookie. When the Checkout page loads, the cookie isn’t there. I think this explains why the Checkout page thinks the cart is empty.

    With regret I will be uninstalling the plugin. I will look for another plugin to suit my needs.

    All the best

    Pratik Jain

    (@pratik-jain)

    Hi @paulchrisjones

    Thanks for your response.

    I have checked cookie is working properly. By the way cookie works for local machine (Browser). I think there can be the issue with PHP session.

    Do you have simple web hosting or any cloud hosting?

    Please add the below code to your WordPress wp-config.php file just above this line /* That’s all, stop editing! Happy publishing. */

    define( 'EDD_USE_PHP_SESSIONS', false );

    This will use the cookie instead of SESSION. Let’s see. Hope for the best ??

    Keri.Jacoby

    (@kerijacoby)

    Hi @paulchrisjones
    It appears as though you no longer have EDD installed on your site and we haven’t seen any recent activity here so we’ll close this thread.

    We did have another customer using Bluehost who recently experienced the same issue. While I don’t have the specifics of how it was resolved, it was an issue Bluehost was able to fix.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘“Your cart is empty.”’ is closed to new replies.