Post by sylwekb » Wed Feb 05, 2025 3:36 am

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

Attachments

???
screen.jpg

New member

Posts

Joined
Wed Jul 17, 2013 6:48 pm

Post by JNeuhoff » Wed Feb 05, 2025 6:06 am

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.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by by mona » Wed Feb 05, 2025 8:14 am

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.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 5 guests