Upgrade to 3.0 produces infinite loop
-
Today we updated one of our customers websites to 3.0
After that we were not able to open the backend order overview page.
We got a “Service Temporarily Unavailable” message and after looking into the server logs, we found out, that the update produces a “Maximum call stack size exceeded” error.
First we tried to perform the “database update” which WooCommerce Germanized recommended but that still didn’t solve our problems.
With that information we reverted to the old version 2.4.3 and now the backend order overview page works again.
Fortunately we have a DB Backup but still the update breaks our page.
-
I just tried to reproduce it with a “relatively” empty WooCommerce installation and couldn’t reproduce the problem.
So therefore its not a WooCommerce Germanized problem by itself.
Seems like it is somehow connected to WPML.
[31-Oct-2019 09:34:28 UTC] PHP Fatal error: Maximum function nesting level of '1000' reached, aborting! in docroot/wp-includes/cache.php on line 726 [31-Oct-2019 09:34:28 UTC] PHP Stack trace: [31-Oct-2019 09:34:28 UTC] PHP 1. {main}() docroot/wp-admin/edit.php:0 [31-Oct-2019 09:34:28 UTC] PHP 2. WP_Posts_List_Table->display() docroot/wp-admin/edit.php:416 [31-Oct-2019 09:34:28 UTC] PHP 3. WP_Posts_List_Table->display_rows_or_placeholder() docroot/wp-admin/includes/class-wp-list-table.php:1175 [31-Oct-2019 09:34:28 UTC] PHP 4. WP_Posts_List_Table->display_rows() docroot/wp-admin/includes/class-wp-list-table.php:1244 [31-Oct-2019 09:34:28 UTC] PHP 5. WP_Posts_List_Table->_display_rows() docroot/wp-admin/includes/class-wp-posts-list-table.php:713 [31-Oct-2019 09:34:28 UTC] PHP 6. WP_Posts_List_Table->single_row() docroot/wp-admin/includes/class-wp-posts-list-table.php:736 [31-Oct-2019 09:34:28 UTC] PHP 7. WP_Posts_List_Table->single_row_columns() docroot/wp-admin/includes/class-wp-posts-list-table.php:1290 [31-Oct-2019 09:34:28 UTC] PHP 8. WP_Posts_List_Table->column_default() docroot/wp-admin/includes/class-wp-list-table.php:1332 [31-Oct-2019 09:34:28 UTC] PHP 9. do_action() docroot/wp-admin/includes/class-wp-posts-list-table.php:1257 [31-Oct-2019 09:34:28 UTC] PHP 10. WP_Hook->do_action() docroot/wp-includes/plugin.php:465 [31-Oct-2019 09:34:28 UTC] PHP 11. WP_Hook->apply_filters() docroot/wp-includes/class-wp-hook.php:310 [31-Oct-2019 09:34:28 UTC] PHP 12. WC_Admin_List_Table_Orders->render_columns() docroot/wp-includes/class-wp-hook.php:286 [31-Oct-2019 09:34:28 UTC] PHP 13. WC_Admin_List_Table_Orders->render_shipping_address_column() docroot/wp-content/plugins/woocommerce/includes/admin/list-tables/abstract-class-wc-admin-list-table.php:261 [31-Oct-2019 09:34:28 UTC] PHP 14. WC_Order->get_shipping_method() docroot/wp-content/plugins/woocommerce/includes/admin/list-tables/class-wc-admin-list-table-orders.php:342 [31-Oct-2019 09:34:28 UTC] PHP 15. WC_Order->get_shipping_methods() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:816 [31-Oct-2019 09:34:28 UTC] PHP 16. WC_Order->get_items() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:806 [31-Oct-2019 09:34:28 UTC] PHP 17. apply_filters() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:769 [31-Oct-2019 09:34:28 UTC] PHP 18. WP_Hook->apply_filters() docroot/wp-includes/plugin.php:208 [31-Oct-2019 09:34:28 UTC] PHP 19. WCML_Orders->woocommerce_order_get_items() docroot/wp-includes/class-wp-hook.php:288 [31-Oct-2019 09:34:28 UTC] PHP 20. WC_Order_Item_Shipping->save() docroot/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php:152 [31-Oct-2019 09:34:28 UTC] PHP 21. WC_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:216 [31-Oct-2019 09:34:28 UTC] PHP 22. WC_Order_Item_Shipping_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:179 [31-Oct-2019 09:34:28 UTC] PHP 23. do_action() docroot/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php:88 [31-Oct-2019 09:34:28 UTC] PHP 24. WP_Hook->do_action() docroot/wp-includes/plugin.php:465 [31-Oct-2019 09:34:28 UTC] PHP 25. WP_Hook->apply_filters() docroot/wp-includes/class-wp-hook.php:310 [31-Oct-2019 09:34:28 UTC] PHP 26. Vendidero\Germanized\Shipments\Validation::update_order_item() docroot/wp-includes/class-wp-hook.php:286 [31-Oct-2019 09:34:28 UTC] PHP 27. Vendidero\Germanized\Shipments\Order->validate_shipments() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Validation.php:110 [31-Oct-2019 09:34:28 UTC] PHP 28. Vendidero\Germanized\Shipments\SimpleShipment->sync() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Order.php:78 [31-Oct-2019 09:34:28 UTC] PHP 29. wc_gzd_get_shipment_order_shipping_method_id() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/SimpleShipment.php:150 [31-Oct-2019 09:34:28 UTC] PHP 30. WC_Order->get_shipping_methods() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:438 [31-Oct-2019 09:34:28 UTC] PHP 31. WC_Order->get_items() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:806 [31-Oct-2019 09:34:28 UTC] PHP 32. apply_filters() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:769 [31-Oct-2019 09:34:28 UTC] PHP 33. WP_Hook->apply_filters() docroot/wp-includes/plugin.php:208 [31-Oct-2019 09:34:28 UTC] PHP 34. WCML_Orders->woocommerce_order_get_items() docroot/wp-includes/class-wp-hook.php:288 [31-Oct-2019 09:34:28 UTC] PHP 35. WC_Order_Item_Shipping->save() docroot/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php:152 [31-Oct-2019 09:34:28 UTC] PHP 36. WC_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:216 [31-Oct-2019 09:34:28 UTC] PHP 37. WC_Order_Item_Shipping_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:179 [31-Oct-2019 09:34:28 UTC] PHP 38. do_action() docroot/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php:88 [31-Oct-2019 09:34:28 UTC] PHP 39. WP_Hook->do_action() docroot/wp-includes/plugin.php:465 [31-Oct-2019 09:34:28 UTC] PHP 40. WP_Hook->apply_filters() docroot/wp-includes/class-wp-hook.php:310 [31-Oct-2019 09:34:28 UTC] PHP 41. Vendidero\Germanized\Shipments\Validation::update_order_item() docroot/wp-includes/class-wp-hook.php:286 [31-Oct-2019 09:34:28 UTC] PHP 42. Vendidero\Germanized\Shipments\Order->validate_shipments() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Validation.php:110 [31-Oct-2019 09:34:28 UTC] PHP 43. Vendidero\Germanized\Shipments\SimpleShipment->sync() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Order.php:78 [31-Oct-2019 09:34:28 UTC] PHP 44. wc_gzd_get_shipment_order_shipping_method_id() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/SimpleShipment.php:150 [31-Oct-2019 09:34:28 UTC] PHP 45. WC_Order->get_shipping_methods() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:438 [31-Oct-2019 09:34:28 UTC] PHP 46. WC_Order->get_items() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:806 [31-Oct-2019 09:34:28 UTC] PHP 47. apply_filters() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:769 [31-Oct-2019 09:34:28 UTC] PHP 48. WP_Hook->apply_filters() docroot/wp-includes/plugin.php:208 [31-Oct-2019 09:34:28 UTC] PHP 49. WCML_Orders->woocommerce_order_get_items() docroot/wp-includes/class-wp-hook.php:288 [31-Oct-2019 09:34:28 UTC] PHP 50. WC_Order_Item_Shipping->save() docroot/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php:152 [31-Oct-2019 09:34:28 UTC] PHP 51. WC_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:216 [31-Oct-2019 09:34:28 UTC] PHP 52. WC_Order_Item_Shipping_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:179 [31-Oct-2019 09:34:28 UTC] PHP 53. do_action() docroot/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php:88 [31-Oct-2019 09:34:28 UTC] PHP 54. WP_Hook->do_action() docroot/wp-includes/plugin.php:465 [31-Oct-2019 09:34:28 UTC] PHP 55. WP_Hook->apply_filters() docroot/wp-includes/class-wp-hook.php:310 [31-Oct-2019 09:34:28 UTC] PHP 56. Vendidero\Germanized\Shipments\Validation::update_order_item() docroot/wp-includes/class-wp-hook.php:286 [31-Oct-2019 09:34:28 UTC] PHP 57. Vendidero\Germanized\Shipments\Order->validate_shipments() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Validation.php:110 [31-Oct-2019 09:34:28 UTC] PHP 58. Vendidero\Germanized\Shipments\SimpleShipment->sync() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Order.php:78 [31-Oct-2019 09:34:28 UTC] PHP 59. wc_gzd_get_shipment_order_shipping_method_id() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/SimpleShipment.php:150 [31-Oct-2019 09:34:28 UTC] PHP 60. WC_Order->get_shipping_methods() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:438 [31-Oct-2019 09:34:28 UTC] PHP 61. WC_Order->get_items() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:806 [31-Oct-2019 09:34:28 UTC] PHP 62. apply_filters() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:769 [31-Oct-2019 09:34:28 UTC] PHP 63. WP_Hook->apply_filters() docroot/wp-includes/plugin.php:208 [31-Oct-2019 09:34:28 UTC] PHP 64. WCML_Orders->woocommerce_order_get_items() docroot/wp-includes/class-wp-hook.php:288 [31-Oct-2019 09:34:28 UTC] PHP 65. WC_Order_Item_Shipping->save() docroot/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php:152 [31-Oct-2019 09:34:28 UTC] PHP 66. WC_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:216 [31-Oct-2019 09:34:28 UTC] PHP 67. WC_Order_Item_Shipping_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:179 [31-Oct-2019 09:34:28 UTC] PHP 68. do_action() docroot/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php:88 [31-Oct-2019 09:34:28 UTC] PHP 69. WP_Hook->do_action() docroot/wp-includes/plugin.php:465 [31-Oct-2019 09:34:28 UTC] PHP 70. WP_Hook->apply_filters() docroot/wp-includes/class-wp-hook.php:310 [31-Oct-2019 09:34:28 UTC] PHP 71. Vendidero\Germanized\Shipments\Validation::update_order_item() docroot/wp-includes/class-wp-hook.php:286 [31-Oct-2019 09:34:28 UTC] PHP 72. Vendidero\Germanized\Shipments\Order->validate_shipments() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Validation.php:110 [31-Oct-2019 09:34:28 UTC] PHP 73. Vendidero\Germanized\Shipments\SimpleShipment->sync() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Order.php:78 [31-Oct-2019 09:34:28 UTC] PHP 74. wc_gzd_get_shipment_order_shipping_method_id() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/SimpleShipment.php:150 [31-Oct-2019 09:34:28 UTC] PHP 75. WC_Order->get_shipping_methods() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:438 [31-Oct-2019 09:34:28 UTC] PHP 76. WC_Order->get_items() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:806 [31-Oct-2019 09:34:28 UTC] PHP 77. apply_filters() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:769 [31-Oct-2019 09:34:28 UTC] PHP 78. WP_Hook->apply_filters() docroot/wp-includes/plugin.php:208 [31-Oct-2019 09:34:28 UTC] PHP 79. WCML_Orders->woocommerce_order_get_items() docroot/wp-includes/class-wp-hook.php:288 [31-Oct-2019 09:34:28 UTC] PHP 80. WC_Order_Item_Shipping->save() docroot/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php:152 [31-Oct-2019 09:34:28 UTC] PHP 81. WC_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:216 [31-Oct-2019 09:34:28 UTC] PHP 82. WC_Order_Item_Shipping_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:179 [31-Oct-2019 09:34:28 UTC] PHP 83. do_action() docroot/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php:88 [31-Oct-2019 09:34:28 UTC] PHP 84. WP_Hook->do_action() docroot/wp-includes/plugin.php:465 [31-Oct-2019 09:34:28 UTC] PHP 85. WP_Hook->apply_filters() docroot/wp-includes/class-wp-hook.php:310 [31-Oct-2019 09:34:28 UTC] PHP 86. Vendidero\Germanized\Shipments\Validation::update_order_item() docroot/wp-includes/class-wp-hook.php:286 [31-Oct-2019 09:34:28 UTC] PHP 87. Vendidero\Germanized\Shipments\Order->validate_shipments() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Validation.php:110 [31-Oct-2019 09:34:28 UTC] PHP 88. Vendidero\Germanized\Shipments\SimpleShipment->sync() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Order.php:78 [31-Oct-2019 09:34:28 UTC] PHP 89. wc_gzd_get_shipment_order_shipping_method_id() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/SimpleShipment.php:150 [31-Oct-2019 09:34:28 UTC] PHP 90. WC_Order->get_shipping_methods() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:438 [31-Oct-2019 09:34:28 UTC] PHP 91. WC_Order->get_items() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:806 [31-Oct-2019 09:34:28 UTC] PHP 92. apply_filters() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:769 [31-Oct-2019 09:34:28 UTC] PHP 93. WP_Hook->apply_filters() docroot/wp-includes/plugin.php:208 [31-Oct-2019 09:34:28 UTC] PHP 94. WCML_Orders->woocommerce_order_get_items() docroot/wp-includes/class-wp-hook.php:288 [31-Oct-2019 09:34:28 UTC] PHP 95. WC_Order_Item_Shipping->save() docroot/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php:152 [31-Oct-2019 09:34:28 UTC] PHP 96. WC_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:216 [31-Oct-2019 09:34:28 UTC] PHP 97. WC_Order_Item_Shipping_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:179 [31-Oct-2019 09:34:28 UTC] PHP 98. do_action() docroot/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php:88 [31-Oct-2019 09:34:28 UTC] PHP 99. WP_Hook->do_action() docroot/wp-includes/plugin.php:465 [31-Oct-2019 09:34:28 UTC] PHP 100. WP_Hook->apply_filters() docroot/wp-includes/class-wp-hook.php:310 [31-Oct-2019 09:34:28 UTC] PHP 101. Vendidero\Germanized\Shipments\Validation::update_order_item() docroot/wp-includes/class-wp-hook.php:286 [31-Oct-2019 09:34:28 UTC] PHP 102. Vendidero\Germanized\Shipments\Order->validate_shipments() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Validation.php:110 [31-Oct-2019 09:34:28 UTC] PHP 103. Vendidero\Germanized\Shipments\SimpleShipment->sync() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Order.php:78 [31-Oct-2019 09:34:28 UTC] PHP 104. wc_gzd_get_shipment_order_shipping_method_id() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/SimpleShipment.php:150 [31-Oct-2019 09:34:28 UTC] PHP 105. WC_Order->get_shipping_methods() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:438 [31-Oct-2019 09:34:28 UTC] PHP 106. WC_Order->get_items() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:806 [31-Oct-2019 09:34:28 UTC] PHP 107. apply_filters() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:769 [31-Oct-2019 09:34:28 UTC] PHP 108. WP_Hook->apply_filters() docroot/wp-includes/plugin.php:208 [31-Oct-2019 09:34:28 UTC] PHP 109. WCML_Orders->woocommerce_order_get_items() docroot/wp-includes/class-wp-hook.php:288 [31-Oct-2019 09:34:28 UTC] PHP 110. WC_Order_Item_Shipping->save() docroot/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php:152 [31-Oct-2019 09:34:28 UTC] PHP 111. WC_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:216 [31-Oct-2019 09:34:28 UTC] PHP 112. WC_Order_Item_Shipping_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:179 [31-Oct-2019 09:34:28 UTC] PHP 113. do_action() docroot/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php:88 [31-Oct-2019 09:34:28 UTC] PHP 114. WP_Hook->do_action() docroot/wp-includes/plugin.php:465 [31-Oct-2019 09:34:28 UTC] PHP 115. WP_Hook->apply_filters() docroot/wp-includes/class-wp-hook.php:310 [31-Oct-2019 09:34:28 UTC] PHP 116. Vendidero\Germanized\Shipments\Validation::update_order_item() docroot/wp-includes/class-wp-hook.php:286 [31-Oct-2019 09:34:28 UTC] PHP 117. Vendidero\Germanized\Shipments\Order->validate_shipments() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Validation.php:110 [31-Oct-2019 09:34:28 UTC] PHP 118. Vendidero\Germanized\Shipments\SimpleShipment->sync() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Order.php:78 [31-Oct-2019 09:34:28 UTC] PHP 119. wc_gzd_get_shipment_order_shipping_method_id() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/SimpleShipment.php:150 [31-Oct-2019 09:34:28 UTC] PHP 120. WC_Order->get_shipping_methods() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:438 [31-Oct-2019 09:34:28 UTC] PHP 121. WC_Order->get_items() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:806 [31-Oct-2019 09:34:28 UTC] PHP 122. apply_filters() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:769 [31-Oct-2019 09:34:28 UTC] PHP 123. WP_Hook->apply_filters() docroot/wp-includes/plugin.php:208 [31-Oct-2019 09:34:28 UTC] PHP 124. WCML_Orders->woocommerce_order_get_items() docroot/wp-includes/class-wp-hook.php:288 [31-Oct-2019 09:34:28 UTC] PHP 125. WC_Order_Item_Shipping->save() docroot/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php:152 [31-Oct-2019 09:34:28 UTC] PHP 126. WC_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:216 [31-Oct-2019 09:34:28 UTC] PHP 127. WC_Order_Item_Shipping_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:179 [31-Oct-2019 09:34:28 UTC] PHP 128. do_action() docroot/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php:88 [31-Oct-2019 09:34:28 UTC] PHP 129. WP_Hook->do_action() docroot/wp-includes/plugin.php:465 [31-Oct-2019 09:34:28 UTC] PHP 130. WP_Hook->apply_filters() docroot/wp-includes/class-wp-hook.php:310 [31-Oct-2019 09:34:28 UTC] PHP 131. Vendidero\Germanized\Shipments\Validation::update_order_item() docroot/wp-includes/class-wp-hook.php:286 [31-Oct-2019 09:34:28 UTC] PHP 132. Vendidero\Germanized\Shipments\Order->validate_shipments() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Validation.php:110 [31-Oct-2019 09:34:28 UTC] PHP 133. Vendidero\Germanized\Shipments\SimpleShipment->sync() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Order.php:78 [31-Oct-2019 09:34:28 UTC] PHP 134. wc_gzd_get_shipment_order_shipping_method_id() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/SimpleShipment.php:150 [31-Oct-2019 09:34:28 UTC] PHP 135. WC_Order->get_shipping_methods() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:438 [31-Oct-2019 09:34:28 UTC] PHP 136. WC_Order->get_items() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:806 [31-Oct-2019 09:34:28 UTC] PHP 137. apply_filters() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:769 [31-Oct-2019 09:34:28 UTC] PHP 138. WP_Hook->apply_filters() docroot/wp-includes/plugin.php:208 [31-Oct-2019 09:34:28 UTC] PHP 139. WCML_Orders->woocommerce_order_get_items() docroot/wp-includes/class-wp-hook.php:288 [31-Oct-2019 09:34:28 UTC] PHP 140. WC_Order_Item_Shipping->save() docroot/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php:152 [31-Oct-2019 09:34:28 UTC] PHP 141. WC_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:216 [31-Oct-2019 09:34:28 UTC] PHP 142. WC_Order_Item_Shipping_Data_Store->update() docroot/wp-content/plugins/woocommerce/includes/class-wc-data-store.php:179 [31-Oct-2019 09:34:28 UTC] PHP 143. do_action() docroot/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php:88 [31-Oct-2019 09:34:28 UTC] PHP 144. WP_Hook->do_action() docroot/wp-includes/plugin.php:465 [31-Oct-2019 09:34:28 UTC] PHP 145. WP_Hook->apply_filters() docroot/wp-includes/class-wp-hook.php:310 [31-Oct-2019 09:34:28 UTC] PHP 146. Vendidero\Germanized\Shipments\Validation::update_order_item() docroot/wp-includes/class-wp-hook.php:286 [31-Oct-2019 09:34:28 UTC] PHP 147. Vendidero\Germanized\Shipments\Order->validate_shipments() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Validation.php:110 [31-Oct-2019 09:34:28 UTC] PHP 148. Vendidero\Germanized\Shipments\SimpleShipment->sync() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/Order.php:78 [31-Oct-2019 09:34:28 UTC] PHP 149. wc_gzd_get_shipment_order_shipping_method_id() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/src/SimpleShipment.php:150 [31-Oct-2019 09:34:28 UTC] PHP 150. WC_Order->get_shipping_methods() docroot/wp-content/plugins/woocommerce-germanized/packages/woocommerce-germanized-shipments/includes/wc-gzd-shipment-functions.php:438 [31-Oct-2019 09:34:28 UTC] PHP 151. WC_Order->get_items() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:806 [31-Oct-2019 09:34:28 UTC] PHP 152. apply_filters() docroot/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php:769 [31-Oct-2019 09:34:28 UTC] PHP 153. WP_Hook->apply_filters() docroot/wp-includes/plugin.php:208
Same problem on our website ??
Rollback to previous version and all is back to normal.Since it definitely is related to the WPML Multilingual Plugin I created a WPML Support Ticket, so a WPML Developer can check that problem.
[31-Oct-2019 09:34:28 UTC] PHP 20. WC_Order_Item_Shipping->save() docroot/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-orders.php:152
We additionally had the problem, that
- An additional checkbox for “I am older than xy” has been added to the checkout process
- We had problems with the WooCommerce E-Mails. Somehow the E-Mail Headers weren’t present anymore, so therefore the HTML Code was visible for customers
We didn’t debug this problem any more and are now in the process of restoring a database status from earlier this day.
Still I wouldn’t recommend to update to 3.0 if you use WPML till this issue is being resolved!
Hi there,
thanks for reporting. Was able to reproduce the problem after locally activating WPML and WooCommerce Multilingual. Seems like WCML tries to save order items as soon as they are loaded from DB (which I guess is not how it is intended to be). I’ve created a hotfix which will be released later today to make sure that the WPML hook is removed before syncing shipments to avoid infinite loops.
I’ll check the age verification checkbox issue as well.
Cheers
thx for the fast reply and the confirmation, that the problem can be hotfixed by your plugin.
About the age verification checkbox:
We just have noticed, that it has been added due to the update to 3.0 (or more specifically the DB update caused by the 3.0 update)
Its not like we had problems with the checkbox, we were just surprised it was included by default.
Hi Kevin,
normally the checkbox should of course just show if it was configured to do so (e.g. a product, product category or global minimum age has been chosen). Is that the case in your configuration? Or what is shown exactly?
Cheers
This checkbox has been added/activated by default.
https://screenshot.sunlime.at/0e1d841977dea29846b962a72c649363This is my test environment since we restored the old database status of our customers live page. This is of course the 3.0 version since this environment doesn’t run with WPML.
After downgrading to the old Germanized Version the mentioned Checkbox has been added in there:
https://screenshot.sunlime.at/3a3d6b6df6bffd6e3706b475ea8dc2e5Hi,
yes, the checkbox is activated by default but should only show up in the checkout if a minimum age has been added to a product or product category or a global minimum age has been configured in the checkbox settings.
Or did the checkbox show up within the checkout telling the user to confirm his minimum age?
Cheers
The checkbox showed up on the checkout process before a customer confirms his order.
But to be mentioned: This behaviour was only present AFTER we downgraded to 2.4.3 again, not in the newest Version.
In my test environment I couldn’t reproduce this problem, therefore this problem was only present due to the fact that we downgraded from 3.0 to 2.4.3 on our customers live website.
Therefore you don’t have to look into that further.
Hi there,
thank you checking that! The fix is on it’s way to be released ??
Cheers
Hi,
FWIW, I just had the same issue.
I updated Germanized to 3.0.2, ran the database update, then had to roll back to 2.3.4
The checkbox doesn’t show up during checkout, but I get the “Please confirm your age.” error message when I want to submit an order.
Kind regards!
Hi there,
hm, that’s strange. I couldn’t reproduce that until now. Did you try deactivating the whole checkbox under legal checkboxes? Could you contact me via email or contact form for further debugging? https://vendidero.de/kontakt
Cheers
Yes, I deleted the checkbox from the list and it works just fine now. Just wanted to notify you about this behavior, as it was breaking my checkout process.
Hi,
could you provide me with some more info: Did you update to Germanized 3.0 and then reverted back to Germanized 2.X and then the error on checkout occurs? That is possible, due to the lack of the minimum_age in that older version.
Cheers
Hi again,
yes, that’s what happened.
I know that it’s a new major version and backwards incompatible changes are to be expected. Somehow I expected another database cleanup after rolling back ??
All good.
- The topic ‘Upgrade to 3.0 produces infinite loop’ is closed to new replies.