• Hello,

    I have encountered issue at our website.
    We need to create Thank you page for website, so we had installed a plugins: https://www.ads-software.com/plugins/woo-thank-you-page-nextmove-lite/ and https://www.ads-software.com/plugins/yith-custom-thank-you-page-for-woocommerce/

    After install we are getting critical issue at website. It is conflicting with Woo Bundle Choice plugin.
    I have already sent you error log from plugins log setion.

    Error Log:

    [Jun 22 2021 13:40:44] ERROR in /home/293026.cloudwaysapps.com/wxaywjdfdp/public_html/wp-content/plugins/woo-bundle-choice-1/application/controllers/publics/pages/order-received.php at line number 125
    "Uncaught ArgumentCountError: Too few arguments to function eo\\wbc\\controllers\\publics\\pages\\Order_Received::eo\\wbc\\controllers\\publics\\pages\\{closure}(), 2 passed in \/home\/293026.cloudwaysapps.com\/wxaywjdfdp\/public_html\/wp-includes\/class-wp-hook.php on line 292 and exactly 3 expected in \/home\/293026.cloudwaysapps.com\/wxaywjdfdp\/public_html\/wp-content\/plugins\/woo-bundle-choice-1\/application\/controllers\/publics\/pages\/order-received.php:125\nStack trace:\n#0 \/home\/293026.cloudwaysapps.com\/wxaywjdfdp\/public_html\/wp-includes\/class-wp-hook.php(292): eo\\wbc\\controllers\\publics\\pages\\Order_Received->eo\\wbc\\controllers\\publics\\pages\\{closure}('<a href=\"https:...', Object(WC_Order_Item_Product))\n#1 \/home\/293026.cloudwaysapps.com\/wxaywjdfdp\/public_html\/wp-includes\/plugin.php(212): WP_Hook->apply_filters('<a href=\"https:...', Array)\n#2 \/home\/293026.cloudwaysapps.com\/wxaywjdfdp\/public_html\/wp-content\/plugins\/yith-custom-thank-you-page-for-woocommerce\/templates\/woocommerce\/yith_ctpw_table.php(40): apply_filters('woocommerce_"
    [Jun 22 2021 14:16:21] Notice in /home/293026.cloudwaysapps.com/wxaywjdfdp/public_html/wp-content/plugins/woo-bundle-choice-1/application/view/publics/filters/step_slider_desktop.php at line number 19
    "Undefined variable: label_max_size"
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sphere Plugins

    (@emptyopssphere)

    Hi, @devnp ,

    This is in the list of known issues and fixes to this will be added to the beta release sooner.

    Thanks for your patience.

    Thread Starter Nikhil P

    (@devnp)

    Hello,

    I have already mailed the issue to support via mail but no reply yet.

    Plugin Author Sphere Plugins

    (@emptyopssphere)

    Hi @devnp ,

    Sorry for the delays, I checked for the issue and that is not a problem with our plugin.

    Please update the line below at the plugin file yith-custom-thank-you-page-for-woocommerce/templates/woocommerce/yith_ctpw_table.php from line 37 to 41 and replace with the below code:

    if ( $_product && ! $_product->is_visible() ) {
    echo apply_filters( 'woocommerce_order_item_name', $item['name'], $item, $_product->is_visible() );
    } else {
    echo apply_filters( 'woocommerce_order_item_name', sprintf( '<a href="%s">%s</a>', get_permalink( $item['product_id'] ), $item['name'] ), $item, $_product->is_visible() );
    }

    That will fix the issue.

    Thread Starter Nikhil P

    (@devnp)

    Hello,

    Thanks for solution.
    Can we add above code as action/hook in theme’s functions.php file??
    Because whenever this plugin gets update, code will be rewrited.

    Also I am having this same issue with another Thank you page plugin “Nextmove Lite”.

    Thread Starter Nikhil P

    (@devnp)

    Hello,

    I have added the above code but its not working.
    see: https://ibb.co/ZJSyXcg

    I have already raised this issue & sent ERROR Report on private support. I have purchased extension for this plugin. This is error I am getting:

    [Aug 04 2021 09:44:06] Notice in /home/293026.cloudwaysapps.com/wxaywjdfdp/public_html/wp-content/plugins/woo-bundle-choice-1/application/view/publics/filters/step_slider_mobile.php at line number 19
    "Undefined variable: label_max_size"
    [Aug 04 2021 10:33:03] ERROR in /home/293026.cloudwaysapps.com/wxaywjdfdp/public_html/wp-content/plugins/woo-bundle-choice-1/application/controllers/publics/pages/order-received.php at line number 130
    "Uncaught Error: Call to a member function get_qty_refunded_for_item() on bool in \/home\/293026.cloudwaysapps.com\/wxaywjdfdp\/public_html\/wp-content\/plugins\/woo-bundle-choice-1\/application\/controllers\/publics\/pages\/order-received.php:130\nStack trace:\n#0 \/home\/293026.cloudwaysapps.com\/wxaywjdfdp\/public_html\/wp-includes\/class-wp-hook.php(303): eo\\wbc\\controllers\\publics\\pages\\Order_Received->eo\\wbc\\controllers\\publics\\pages\\{closure}('<a href=\"https:...', Object(WC_Order_Item_Product), true)\n#1 \/home\/293026.cloudwaysapps.com\/wxaywjdfdp\/public_html\/wp-includes\/plugin.php(189): WP_Hook->apply_filters('<a href=\"https:...', Array)\n#2 \/home\/293026.cloudwaysapps.com\/wxaywjdfdp\/public_html\/wp-content\/plugins\/yith-custom-thank-you-page-for-woocommerce\/templates\/woocommerce\/yith_ctpw_table.php(40): apply_filters('woocommerce_ord...', '<a href=\"https:...', Object(WC_Order_Item_Product), true)\n#3 \/home\/293026.cloudwaysapps.com\/wxaywjdfdp\/public_html\/wp-content\/plugins\/yith-custom-thank-you-page-for-woocommerce\/includes\/class"
    • This reply was modified 3 years, 3 months ago by Nikhil P.
    Plugin Author Sphere Plugins

    (@emptyopssphere)

    Hi @devnp ,

    Can we add the above code as an action/hook in the theme’s functions.php file??
    => no, the above codes are meant to replace the existing one.

    Because whenever this plugin gets an update, the code will be rewritten.
    => yes, it will be overwritten. But we have followed the standard definition of the hook that has been defined by woocommerce which is crucial for other stores to run on.

    Here is the definition on the hook: https://github.com/woocommerce/woocommerce/blob/trunk/templates/order/order-details-item.php#L33

    Also, I am having this same issue with another Thank you page plugin “Nextmove Lite”.
    => I will check what can be done as this issue is conflicting with other plugins, so it’s a concerning matter.

    Regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Compatibility issue’ is closed to new replies.