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.motofox wrote: ↑Sun Jul 09, 2023 4:26 amopencart 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
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks - Uploaded version 4.0.2.2 over the top and its resolved the issue 
thanks for the help

thanks for the help
straightlight wrote: ↑Sun Jul 09, 2023 5:08 amI 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.motofox wrote: ↑Sun Jul 09, 2023 4:26 amopencart 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
Now that the issue has been resolved, please add: [SOLVED] at the beginning of the subject line on your first post.motofox wrote: ↑Sun Jul 09, 2023 7:16 amThanks - 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 amI 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.motofox wrote: ↑Sun Jul 09, 2023 4:26 amopencart 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
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 2 guests