• Resolved matijdk

    (@matijdk)


    Hi, I’m having a problem with the plugin. I get an error with both different types of shipping plugins.

    I thought it could be the “correo argentino” plugin, I uninstalled it and installed “Zipnova” but the POS also gives me an error “There has been a critical error on this site.”

    This is the log:

    2025-07-14T13:29:03+00:00 Crítico Uncaught TypeError: reset(): Argument #1 ($array) must be of type array, null given in /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/zippin_woocommerce/utils.php:24 Contexto adicional{ “error”: { “type”: 1, “file”: “/home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/zippin_woocommerce/utils.php”, “line”: 24 }, “remote-logging”: true, “backtrace”: [ “”, “#0 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/zippin_woocommerce/utils.php(24): reset()”, “#1 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/zippin_woocommerce/utils.php(71): Zippin\Zippin\Utils\update_order_meta()”, “#2 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/class-wp-hook.php(326): Zippin\Zippin\Utils\process_order_status()”, “#3 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()”, “#4 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()”, “#5 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(450): do_action()”, “#6 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(274): WC_Order->status_transition()”, “#7 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(172): WC_Order->save()”, “#8 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce-pos/includes/Gateways/Card.php(118): WC_Order->payment_complete()”, “#9 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(477): WCPOS\WooCommercePOS\Gateways\Card->process_payment()”, “#10 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/class-wp-hook.php(324): WC_Form_Handler::pay_action()”, “#11 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()”, “#12 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()”, “#13 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/class-wp.php(835): do_action_ref_array()”, “#14 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/functions.php(1342): WP->main()”, “#15 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-blog-header.php(16): wp()”, “#16 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/index.php(17): require(‘/home/u11443700…’)”, “#17 {main}”, “thrown” ] }

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author kilbot

    (@kilbot)

    This seems to be an error in the Zipnova plugin. I have posted an issue on their GitHub repo: https://github.com/zipnova/woocommerce-zipnova/issues/1

    Thread Starter matijdk

    (@matijdk)

    Hi! Thanks!

    But the other plugin (https://www.correoargentino.com.ar/MiCorreo/public/mi-correo) gives me the same error.

    Plugin Author kilbot

    (@kilbot)

    Can you post the error message from the MiCorreo plugin? It won’t be exactly the same error.

    Thread Starter matijdk

    (@matijdk)

    Error: Empty response from server

    Uncaught Error: Call to a member function get() on null in /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/correoargentino-3.0.3rc-241028-5/correoargentino-shipping.php:616 Contexto adicional{ “error”: { “type”: 1, “file”: “/home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/correoargentino-3.0.3rc-241028-5/correoargentino-shipping.php”, “line”: 616 }, “remote-logging”: true, “backtrace”: [ “”, “#0 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/class-wp-hook.php(326): new_order_handler()”, “#1 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()”, “#2 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()”, “#3 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(113): do_action()”, “#4 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(186): WC_Order_Data_Store_CPT->create()”, “#5 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(224): WC_Data_Store->create()”, “#6 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(273): WC_Abstract_Order->save()”, “#7 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php(283): WC_Order->save()”, “#8 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php(205): WC_REST_Orders_Controller->save_object()”, “#9 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-content/plugins/woocommerce-pos/includes/API/Orders_Controller.php(248): WC_REST_CRUD_Controller->create_item()”, “#10 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1292): WCPOS\WooCommercePOS\API\Orders_Controller->create_item()”, “#11 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request()”, “#12 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()”, “#13 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/rest-api.php(459): WP_REST_Server->serve_request()”, “#14 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded()”, “#15 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()”, “#16 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()”, “#17 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/class-wp.php(418): do_action_ref_array()”, “#18 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/class-wp.php(818): WP->parse_request()”, “#19 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-includes/functions.php(1342): WP->main()”, “#20 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/wp-blog-header.php(16): wp()”, “#21 /home/u114437001/domains/ambarvioletajoyeria.com/public_html/index.php(17): require(‘/home/u11443700…’)”, “#22 {main}”, “thrown” ]

    Thread Starter matijdk

    (@matijdk)

    You’re right, it’s not the same error. The weird thing is that I get the error with two different shipping plugins!

    Plugin Author kilbot

    (@kilbot)

    The errors stem from the same problem: the plugin author assume orders can only be created via the store front, that is, both are looking for information from the cart session: $foo = WC()->session->get( 'some_key' );

    I suspect they would also throw an error for orders created via WP Admin?

    Unfortunately I couldn’t find the repository for correoargentino on GitHub, I guess they have not open sourced the plugin.

    Thread Starter matijdk

    (@matijdk)

    Yes, that’s the problem I’m having. I imagine that’s what was happening, and I use the POS plugin to control sales and inventory in my physical store… I find it impossible to use them on certain days; I have to deactivate all the shipping options. Can you think of a solution?

    Plugin Author kilbot

    (@kilbot)

    You could patch the Zipnova plugin like this: https://github.com/zipnova/woocommerce-zipnova/pull/2/files

    Hopefully the plugin authors will release a new version with this fixed at some stage.

    Thread Starter matijdk

    (@matijdk)

    Hi! I don’t know much, but tell me if it would be like this: I go to my host, look for the plugin folder, the utils.php file, and then I have to edit and replace some lines with the ones you put there. Right?

    Plugin Author kilbot

    (@kilbot)

    Yes, or you can use the Plugin File Editor in your WordPress Admin if it is available under your Plugins menu.

    Thread Starter matijdk

    (@matijdk)

    Thank you so much for your help!!!!!

    I’m talking with the support of zipping and i’m going to tell her about it for a future compatibility with your pos plugin!!!!

    Sorry about my english haha

    Thanks again!

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

You must be logged in to reply to this topic.