Home Forums Plugins Sales Countdown Timer Problem to close order

Problem to close order

  • Author
    Posts
  • #165787

    Luca Scaramuzzo
    Participant

    Hi,
    If i use your plugin it doesn’t give the possibility to close the orders in payment method giving always an error.

    Log:

    2023-06-08T20:25:03+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int + string in /var/www/elferd.com/htdocs/wp-content/plugins/sctv-sales-countdown-timer/includes/frontend/product-countdown.php:139
    Stack trace:
    #0 /var/www/elferd.com/htdocs/wp-content/plugins/sctv-sales-countdown-timer/includes/frontend/product-countdown.php(110): VI_SCT_SALES_COUNTDOWN_TIMER_Frontend_Product_Countdown->check_over_goal()
    #1 /var/www/elferd.com/htdocs/wp-includes/class-wp-hook.php(308): VI_SCT_SALES_COUNTDOWN_TIMER_Frontend_Product_Countdown->woocommerce_new_order_item()
    #2 /var/www/elferd.com/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #3 /var/www/elferd.com/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /var/www/elferd.com/htdocs/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action()
    #5 /var/www/elferd.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(186): Abstract_WC_Order_Item_Type_Data_Store->create()
    #6 /var/www/elferd.com/htdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(228): WC_Data_Store->create()
    #7 /var/www/elferd.com/htdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(285): WC_Data->save()
    #8 /var/www/elferd.com/htdocs/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(217): WC_Abstract_Order->save_items()
    #9 /var/www/elferd.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(244): WC_Abstract_Order->save()
    #10 /var/www/elferd.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(449): WC_Order->save()
    #11 /var/www/elferd.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1256): WC_Checkout->create_order()
    #12 /var/www/elferd.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(485): WC_Checkout->process_checkout()
    #13 /var/www/elferd.com/htdocs/wp-includes/class-wp-hook.php(308): WC_AJAX::checkout()
    #14 /var/www/elferd.com/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #15 /var/www/elferd.com/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #16 /var/www/elferd.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action()
    #17 /var/www/elferd.com/htdocs/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax()
    #18 /var/www/elferd.com/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #19 /var/www/elferd.com/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #20 /var/www/elferd.com/htdocs/wp-includes/template-loader.php(13): do_action()
    #21 /var/www/elferd.com/htdocs/wp-blog-header.php(19): require_once(‘…’)
    #22 /var/www/elferd.com/htdocs/index.php(17): require(‘…’)
    #23 {main}
    thrown in /var/www/elferd.com/htdocs/wp-content/plugins/sctv-sales-countdown-timer/includes/frontend/product-countdown.php alla riga 139

    If i deactivate it all works fine.

You must be logged in to see replies to this topic. Click here to login or register