Post by motofox » Sun Jul 09, 2023 4:26 am

opencart 4.0.2.1 fairly new installation

working pretty nice so far for me apart from one persistant bug i see when trying to view an order and then changing its status to complete from pending i get the following error and i carnt get it back.

Only seems to be once ive changed its status


Warning: Trying to access array offset on value of type null in /home/*********/controller/sale/order.php on line 999Warning: Trying to access array offset on value of type null in /home/u*******/controller/sale/order.php on line 1005Warning: Trying to access array offset on value of type null in /home/*********/controller/sale/order.php on line 1135TypeError: Opencart\Admin\Model\Setting\Extension::getExtensionByCode(): Argument #2 ($code) must be of type string, null given in /home/*************/model/setting/extension.php on line 16
Last edited by motofox on Mon Jul 10, 2023 5:07 am, edited 1 time in total.

New member

Posts

Joined
Wed Nov 19, 2014 10:44 pm

Post by straightlight » Sun Jul 09, 2023 5:08 am

motofox wrote:
Sun Jul 09, 2023 4:26 am
opencart 4.0.2.1 fairly new installation

working pretty nice so far for me apart from one persistant bug i see when trying to view an order and then changing its status to complete from pending i get the following error and i carnt get it back.

Only seems to be once ive changed its status


Warning: Trying to access array offset on value of type null in /home/*********/controller/sale/order.php on line 999Warning: Trying to access array offset on value of type null in /home/u*******/controller/sale/order.php on line 1005Warning: Trying to access array offset on value of type null in /home/*********/controller/sale/order.php on line 1135TypeError: Opencart\Admin\Model\Setting\Extension::getExtensionByCode(): Argument #2 ($code) must be of type string, null given in /home/*************/model/setting/extension.php on line 16
I believe the offset issue has already been fixed on the MB from the Github Opencart repository. See by downloading the latest updates from the v4.0.2.2 release if it solves the issue as I am not sure if this also reflects the :load method issue at this time during the API request.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by motofox » Sun Jul 09, 2023 7:16 am

Thanks - Uploaded version 4.0.2.2 over the top and its resolved the issue :)

thanks for the help


straightlight wrote:
Sun Jul 09, 2023 5:08 am
motofox wrote:
Sun Jul 09, 2023 4:26 am
opencart 4.0.2.1 fairly new installation

working pretty nice so far for me apart from one persistant bug i see when trying to view an order and then changing its status to complete from pending i get the following error and i carnt get it back.

Only seems to be once ive changed its status


Warning: Trying to access array offset on value of type null in /home/*********/controller/sale/order.php on line 999Warning: Trying to access array offset on value of type null in /home/u*******/controller/sale/order.php on line 1005Warning: Trying to access array offset on value of type null in /home/*********/controller/sale/order.php on line 1135TypeError: Opencart\Admin\Model\Setting\Extension::getExtensionByCode(): Argument #2 ($code) must be of type string, null given in /home/*************/model/setting/extension.php on line 16
I believe the offset issue has already been fixed on the MB from the Github Opencart repository. See by downloading the latest updates from the v4.0.2.2 release if it solves the issue as I am not sure if this also reflects the :load method issue at this time during the API request.

New member

Posts

Joined
Wed Nov 19, 2014 10:44 pm

Post by straightlight » Sun Jul 09, 2023 7:28 am

motofox wrote:
Sun Jul 09, 2023 7:16 am
Thanks - Uploaded version 4.0.2.2 over the top and its resolved the issue :)

thanks for the help


straightlight wrote:
Sun Jul 09, 2023 5:08 am
motofox wrote:
Sun Jul 09, 2023 4:26 am
opencart 4.0.2.1 fairly new installation

working pretty nice so far for me apart from one persistant bug i see when trying to view an order and then changing its status to complete from pending i get the following error and i carnt get it back.

Only seems to be once ive changed its status


Warning: Trying to access array offset on value of type null in /home/*********/controller/sale/order.php on line 999Warning: Trying to access array offset on value of type null in /home/u*******/controller/sale/order.php on line 1005Warning: Trying to access array offset on value of type null in /home/*********/controller/sale/order.php on line 1135TypeError: Opencart\Admin\Model\Setting\Extension::getExtensionByCode(): Argument #2 ($code) must be of type string, null given in /home/*************/model/setting/extension.php on line 16
I believe the offset issue has already been fixed on the MB from the Github Opencart repository. See by downloading the latest updates from the v4.0.2.2 release if it solves the issue as I am not sure if this also reflects the :load method issue at this time during the API request.
Now that the issue has been resolved, please add: [SOLVED] at the beginning of the subject line on your first post.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 2 guests