Page 1 of 1

Bug Warning: Trying to access array offset on value of type null in /.../public_html/catalog/controller/account/order.ph

Posted: Wed Feb 05, 2025 3:36 am
by sylwekb
Hallo
Bug Warning: Trying to access array offset on value of type null in /.../public_html/catalog/controller/account/order.php on line 231

After logging in to the user account and proceeding to the order, this error appears. How can it be eliminated? I installed clean Opencart 4.1.0 and transferred data from Opencart 2.3.0.2 to Opencart 4.1.0

Go to user acount and login
Click on Order and one order, error top to order page . Screen atachment, I covered up personal information.
Bug Warning: Trying to access array offset on value of type null in /.../public_html/catalog/controller/account/order.php on line 231

Re: Bug Warning: Trying to access array offset on value of type null in /.../public_html/catalog/controller/account/orde

Posted: Wed Feb 05, 2025 6:06 am
by JNeuhoff
First of all, there is no 4.1.0 version, I thin you mean 4.1.0.0?

Also, how exactly did you transfer the old data to 4.1.0.0?

There error message indicates that there is a missing payment method name for one of your orders.

Re: Bug Warning: Trying to access array offset on value of type null in /.../public_html/catalog/controller/account/orde

Posted: Wed Feb 05, 2025 8:14 am
by by mona
Opencart 4 all versions are still not recommended for production sites.
3.0.4.0 which can be downloaded here https://www.opencart.com/index.php?rout ... ad/history is the recommended stable OC version and supports php8.