• Resolved junkofdavid2

    (@junkofdavid2)


    Hi,

    Just a heads up, seems to be a very clear conflict with Woocommerce Subscriptions. (Clicking on Subscriptions tab brings error “Invalid Post Type”)

    Created staging site, disabled almost all plugins except for Woocommerce and Woo Subscriptions….

    A) I found the plugin causing the “invalid post type” when clicking Subscriptions tab….

    The plugin is Litespeed Cache plugin (note that this is when the plugin is activated, but even when the the “Enable Cache” is “OFF”)

    When I completely Deactivate the Litespeed plugin, I am able to easily access the Woo > Subscription tab with no problems.

    This is with Flatsome Theme, very widely used theme for Woocommerce (some say the most widely used)

    Can the devs please look into this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    If you reset to default setting, how does that go ?

    Best regards,

    I’ve just lost an entire day troubleshooting this same issue. The only way I can get WooCommerce subscriptions to work at the moment is to deactivate the WordPress Litespeed Cache plugin completely.

    I’ve tried with both the WooCommerce StoreFront theme and Bridge from Qode, my usual theme. The problem happens with both.

    • This reply was modified 4 years, 6 months ago by Martin Bailey.
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    @martin_bailey please create a separated topic for your issue.

    Best regards,

    @junkofdavid2, are you seeing a database update notice from WooCoomerce? I was and fixed that and it fixed this issue with the LiteSpeed Cache plugin breaking Subscriptions too, so I thought I’d let you know.

    ——

    I noticed that after a WooCommerce update I was constantly getting this notice in my WordPress admin console, with a Thanks button:

    WooCommerce database update complete. Thank you for updating to the latest version!

    I pressed the Thanks button many times but the notice always comes back. I don’t know how or why this is causing the problems with WooCommerce Subscriptions when the LiteSpeed Cache plugin is active, but I looked into how to fix the Notice not going away and found that in my database, in the xxx_wc_admin_notes table if I updated wc-update-db-reminder from unactioned to actioned and saved the record, the Notice stopped reappearing.

    After doing that, I was able to turn the LiteSpeed Cache plugin back on, and the WooCommerce Subscriptions continued to work fine. I have no idea of the relationship, but this worked for me.

    Thread Starter junkofdavid2

    (@junkofdavid2)

    THANKS FOR THE HEADS UP, MARTIN!

    Because of your post, I noticed it now too.

    Fortunately, after clicking “Thanks” the notice disappeared (unlike in your case where it wouldn’t disappear even after clicking thanks).

    After that, the Woo > Subscriptions does SEEM to be fixed already.

    Will continue observing for the next few days. Cheers!

    You’re very welcome @junkofdavid2. I’m pleased your issue is fixed too, regardless of how it got fixed. Maybe my issue was pure coincidence as well. It’s hard to tell in the complicated web we weave with WordPress and all of these plugins. ??

    @martin_bailey yes! Modifying that field in the database it disappeared the “WooCommerce Thank you” notice and the WooCommerce Subscription plugin worked fine again with Litespeed.
    I was unable to have subscription products and now it works again.

    Thanks!

    @enjoymmstudio May I know how you modify that on your database? I am having somewhat the same issue. Would like to have a fix on it. Thank you.

    @enjoymmstudio I used phpMyAdmin which is part of my website’s admin console on the backend, not WordPress. I then just located the table and record that needed to be changed and updated it, and saved the record.

    @seifer1975 as @martin_bailey said, with your server go to phpmyadmin and do this “in the xxx_wc_admin_notes table if I updated wc-update-db-reminder from unactioned to actioned and saved the record, the Notice stopped reappearing. After doing that, I was able to turn the LiteSpeed Cache plugin back on, and the WooCommerce Subscriptions continued to work fine. I have no idea of the relationship, but this worked for me.”

    That’s it!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Conflict with Woocommerce Subscriptions’ is closed to new replies.