Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter theaizen

    (@theaizen)

    Hello,
    I contacted the developers of the plugin, they told me that in the past they had added this code to fix the problem.

    public function wc_amazon_payments_support() { 
                global $wc_amazon_payments_advanced; 
                if ( ! empty( $wc_amazon_payments_advanced ) && $wc_amazon_payments_advanced instanceof WC_Amazon_Payments_Advanced ) { 
                    remove_action( 
                        'woocommerce_before_checkout_form', 
                        array( 
                            $wc_amazon_payments_advanced, 
                            'checkout_message', 
                        ), 
                        5 
                    ); 
                    add_action( 
                        'yith_woocommerce_checkout_payment', 
                        array( 
                            $wc_amazon_payments_advanced, 
                            'checkout_message', 
                        ), 
                        5 
                    ); 
                } 
            }

    The developers told me that the new versions of Amazon pay applied some changes, including that method only in the “WC_Gateway_Amazon_Payments_Advanced_Legacy” class.
    They ask me to interface with you to figure out the best way to modify the code.

    Thread Starter theaizen

    (@theaizen)

    Hello,
    I disabled the plugins one by one to identify the conflict.
    The plugin that generates the conflict is “YITH WooCommerce Multi-step Checkout Premium”.
    What can I do? Do you have to fix this problem yourself?
    YITH WooCommerce Multi-step Checkout Premium is one of the most purchased plugins, by the way it is the premium version.

    Thread Starter theaizen

    (@theaizen)

    Hello,
    the problem occurs when I open the checkout page

    Thread Starter theaizen

    (@theaizen)

    Checking the console, I notice that I have errors in the react-dom.min.js and react.min.js libraries

    react-dom.min.js:141 TypeError: Cannot read properties of undefined (reading ‘call’)
    at a (index.js:2:1258)
    Ye @ react-dom.min.js:141
    react.min.js:22

    Thread Starter theaizen

    (@theaizen)

    Hello,
    the WordPress version is 5.9.2 and the WooCommerce version is 6.3.1

    Thread Starter theaizen

    (@theaizen)

    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:418
    define()
    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:418
    WpAssetCleanUp\Plugin::preventAnyFrontendOptimization()
    wp-content/plugins/wp-asset-clean-up/classes/CleanUp.php:32
    WpAssetCleanUp\CleanUp->doClean()
    wp-includes/class-wp-hook.php:292
    do_action(‘init’)
    wp-settings.php:560

    Thread Starter theaizen

    (@theaizen)

    WPACU_DO_EXTRA_CHECKS_FOR_AMP
    Error line:

    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:424
    define()
    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:424
    WpAssetCleanUp\Plugin::preventAnyFrontendOptimization()
    wp-content/plugins/wp-asset-clean-up/classes/CleanUp.php:28
    WpAssetCleanUp\CleanUp->doClean()
    wp-includes/class-wp-hook.php:292
    do_action('init')
    wp-settings.php:560

    WPACU_PREVENT_ANY_FRONTEND_OPTIMIZATION
    Error line:

    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:437
    define()
    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:437
    WpAssetCleanUp\Plugin::preventAnyFrontendOptimization()
    wp-content/plugins/wp-asset-clean-up/classes/CleanUp.php:28
    WpAssetCleanUp\CleanUp->doClean()
    wp-includes/class-wp-hook.php:292
    do_action('init')
    wp-settings.php:560
Viewing 7 replies - 1 through 7 (of 7 total)