• incompatible

    I just deployed a new install of woocommerce and then installed YMM Search. after activating the YMM search plugin I get this message: ((This plugin is incompatible with the enabled WooCommerce feature ‘High-Performance order storage’, it shouldn’t be activated. ))

    Is there going to be an update to fix this?

    • This topic was modified 5 months, 4 weeks ago by digitaliway.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Try to add this 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/ymm-search/ymm-search.php

    to declare it as compatible.

    The code is from this page:
    https://github.com/woocommerce/woocommerce/wiki/High-Performance-Order-Storage-Upgrade-Recipe-Book#declaring-extension-incompatibility

    Stanislav

    Thread Starter digitaliway

    (@digitaliway)

    Thank you, that worked. Will you include that code tweak in the next update?

    Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    That code is not part of my plugin so I cannot include it into the official version.

    Also that code includes some external functions that I cannot rely on. They can change at any time and make my plugin incompatible with other plugins.

    Wordpress and Woocommerce change too frequently last years and every new version is just worse than previous.

    There is no a stable version and they force us to upgrade.

    Stanislav

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.