• Resolved mistercode

    (@mistercode)


    Hi there.

    I run WordPress 6.5.2 with WooCommerce 8.8.3 and try to activate HPOS.

    I have 101,000+ orders and started sync with wp-cli using wp wc cot sync. After that I wanted to activate HPOS with wp wc cot activated, but got the error message:

    Running pre-enable checks…
    Warning: [Failed] Some installed plugins are incompatible. Please review the plugins by going to WooCommerce > Settings > Advanced > Features and see the “Order data storage” section.
    Error: HPOS pre-checks failed, please see the errors above

    So I headed over to the WordPress backend and see the following screen:

    There are no incompatible plugins listed. But the checkbox to enable HPOS is grayed out.

    wp wc hpos status shows me

    HPOS enabled?: no
    Compatibility mode enabled?: no
    Unsynced orders: 0
    Orders subject to cleanup: 0

    When I run wp wc cot verify_cot_data I get the information

    Order Data Verification 100% [===========] 2:27 / 1:57
    Verification completed.
    Success: 101263 orders were verified in 140 seconds.

    Does anyone have an idea what is preventing HPOS from activating? How can I find out the incompatible plugin?

    Thank you!

    • This topic was modified 6 months, 3 weeks ago by mistercode.
    • This topic was modified 6 months, 3 weeks ago by mistercode.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there, @mistercode! Thanks for contacting us. I’m happy to help you.

    Have you tried running a conflict test to see if the HPOS works? This would show for sure if what is causing the issue is really a plugin.

    To test, you’ll first want to change the theme on your site to Storefront, then you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.

    — Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.

    — It is important to consider as well a staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging for quickly spinning up a new test site.

    You can find more about this in this guide.

    Please let us know about your findings.

    Looking forward to your reply.

    Have a wonderful day!

    Hi! We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HPOS cannot be activated’ is closed to new replies.