lat9 / edit_orders

Edit Orders: Updates for continued operation on Zen Cart v1.5.8 and later
GNU General Public License v2.0
5 stars 9 forks source link

Sequencing error; order (...) not present or shipping tax-rate not initialized for edit action. in editOrders.php #204

Closed puhycz closed 2 years ago

puhycz commented 2 years ago

I use your module, but after instal and when try it, it shows this error. Is possible help me? Thanx.

[03-Aug-2021 06:39:39 Europe/Prague] Request URI: /admin_zsz/edit_orders.php?oID=48534,

1 trigger_error() called at [/var/www/clients/client1/web1/web/admin_zsz/includes/classes/editOrders.php:253]

2 editOrders->initializeOrderShippingTax() called at [/var/www/clients/client1/web1/web/admin_zsz/includes/classes/editOrders.php:166]

3 editOrders->eoInitializeShipping() called at [/var/www/clients/client1/web1/web/admin_zsz/edit_orders.php:116]

--> PHP Fatal error: Sequencing error; order (48534) not present or shipping tax-rate not initialized for edit action. in editOrders.php on line 253.

lat9 commented 2 years ago
lat9 commented 2 years ago

Also, have you verified that order 48534 actually exists?

puhycz commented 2 years ago

Thx for your request. Yes, oID 48534 exist, php 7.3, EO 4.6.0, ZC 1.5.X but with many edits. Maybe can be problem in ot_cod_fee module?

puhycz commented 2 years ago

SBA is not using.

lat9 commented 2 years ago

Specifically which Zen Cart version (1.5.x doesn't tell me anything). The ot_cod_fee shouldn't present any issues.

I'll note that the error logged --> PHP Fatal error: Sequencing error; order (48534) not present or shipping tax-rate not initialized for **edit** action. in editOrders.php

is issued if either the order isn't present or (for non-edit actions) a tax rate is not available. That log indicates that the issue occurred on an edit action, which leads me to believe that the order isn't present.