• Resolved racoq

    (@racoq)


    Hi!

    Upraded to latest version and it seems to cause the following error in some places on my site.

    It seems to be related to some incompatibility with  Woocommerce, (using latest version 9.9.5) 

    I was able to replicate it when i delete in bulk comments of woocommerce products that are pending approval. And in particular when editing an woocommerce order, when i change a status of an order and click the button to send an email notification about the order for the customer, i will get the above error.

    • This topic was modified 11 months, 2 weeks ago by racoq.
    • This topic was modified 11 months, 2 weeks ago by racoq.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author docjojo

    (@docjojo)

    Thank you!
    Can you enable WP_DEBUG a send the error?

    Or use atec-debug or atec-support to do so, avail on atecplugins.com

    Thread Starter racoq

    (@racoq)

    here you go:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Object_Cache::set_p(), 2 passed in /home/…/public_html/wp-content/object-cache.php on line 287 and exactly 3 expected in /home/…/public_html/wp-content/object-cache.php:121 Stack trace: #0 /home/…/public_html/wp-content/object-cache.php(287): WP_Object_Cache->set_p(‘ee093032:defaul…’, 596) #1 /home/…/public_html/wp-content/object-cache.php(28): WP_Object_Cache->incr(‘order-count_sho…’, -1, ‘default’) #2 /home/…/public_html/wp-content/plugins/woocommerce/src/Caches/OrderCountCache.php(147): wp_cache_decr(‘order-count_sho…’, 1) #3 /home/…/public_html/wp-content/plugins/woocommerce/src/Caches/OrderCountCacheService.php(160): Automattic\WooCommerce\Caches\OrderCountCache->decrement(‘shop_order’, ‘wc-on-hold’) #4 /home/…/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Caches\OrderCountCacheService->update_on_order_status_changed(7722, ‘on-hold’, ‘cancelled’, Object(Automattic\WooCommerce\Admin\Overrides\Order)) #5 /home/…/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #6 /home/…/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home/…/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(450): do_action(‘woocommerce_ord…’, 7722, ‘on-hold’, ‘cancelled’, Object(Automattic\WooCommerce\Admin\Overrides\Order)) #8 /home/…/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(274): WC_Order->status_transition() #9 /home/…/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php(767): WC_Order->save() #10 /home/…/public_html/wp-includes/class-wp-hook.php(326): WC_Meta_Box_Order_Data::save(7722) #11 /home/…/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #12 /home/…/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /home/…/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(318): do_action(‘woocommerce_pro…’, 7722, Object(Automattic\WooCommerce\Admin\Overrides\Order)) #14 /home/…/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(153): Automattic\WooCommerce\Internal\Admin\Orders\Edit->handle_order_update() #15 /home/…/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(351): Automattic\WooCommerce\Internal\Admin\Orders\Edit->setup(Object(Automattic\WooCommerce\Admin\Overrides\Order)) #16 /home/…/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(367): Automattic\WooCommerce\Internal\Admin\Orders\PageController->prepare_order_edit_form() #17 /home/…/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(166): Automattic\WooCommerce\Internal\Admin\Orders\PageController->setup_action_edit_order() #18 /home/…/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\Orders\PageController->handle_load_page_action(”) #19 /home/…/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #20 /home/…/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #21 /home/…/public_html/wp-admin/admin.php(238): do_action(‘load-woocommerc…’) #22 {main} thrown in /home/…/public_html/wp-content/object-cache.php on line 121
    Ocorreu um erro crítico neste site. Verifique o correio do administrador do site para obter instruções. Se continuar a ter problemas, por favor tente o fórum de suporte.

    Saiba mais sobre a resolução de problemas no WordPress.

    • This reply was modified 11 months, 2 weeks ago by racoq.
    Plugin Author docjojo

    (@docjojo)

    You found an error, thank you .
    fixed it.
    pls update and let me know!

    Thread Starter racoq

    (@racoq)

    I have updated to latest version (2.3.16) and tried to change the order status from woocommerce and update the order and send email, and all went well. You fixed the issue 🙂 . Thank you very much!

    Keep up the excellent work! i really enjoy your plugin and it is a must have for performance 🙂

    Plugin Author docjojo

    (@docjojo)

    Great, tnx!

    Positive review always welcome!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error in Woocommerce’ is closed to new replies.