• datverse

    (@datverse)


    Hi,

    Your plugin is very useful. Thank you very much.
    Currently your plugin is still warning about compatibility with HPOS.

    WooCommerce has detected that some of your active plugins are incompatible with currently enabled WooCommerce features.
    This plugin is incompatible with the enabled WooCommerce feature ‘High-Performance order storage’, it shouldn’t be activated.

    Can you update this so that it no longer warns in wp-admin?

    Thanks ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Try to add the code:

    
    add_action( 'before_woocommerce_init', function() {
    	if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
    		\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
    	}
    } );
    

    to the end of the file:
    wp-content/plugins/product-options-for-woocommerce/product-options-for-woocommerce.php

    Then disable and enable the plugin back.

    So it will declare the plugin as compatible.

    The code is from this page:
    https://developer.woocommerce.com/docs/hpos-extension-recipe-book/

    Stanislav

    Thread Starter datverse

    (@datverse)

    Hi,

    Thanks for your code. Will you update it to your plugin?

    Thanks ??

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    That code is not part of my plugin.

    I don’t know if it will work correctly in the future.

    Wordpress and woocommerce change too frequently last years and every new version is just worse than previous. And they force us to upgrade.

    So I am not going to add that code to the official version now.

    Stanislav

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HPOS incompatible alert’ is closed to new replies.