M2.4.4, v1.3.9: Cannot change the timeslot from the admin

Created by Esther Nguyen, Modified on Thu, 2 Jan at 10:27 AM by Esther Nguyen

ISSUE:


We are unable to change the time. For example: The Customer places the order and then calls us to change the time. The extension that controls the time is BSS COMPANY (DELIVE TIME). When we click to change it, it opens normally, after selecting the new time as soon as we click save it shows an error.


1 exception(s):

Exception #0 (Exception): Notice: Undefined offset: 2 in /home/774499.cloudwaysapps.com/tjnpvbwhsu/public_html/app/code/Bss/OrderDeliveryDate/Controller/Adminhtml/Order/DeliverySave.php on line 56


THIS IS ALSO HAPPENING WHEN WE TRY TO EDIT THE CUSTOMER'S ORDER OR WHEN WE TRY TO PLACE THE ORDER THROUGH THE ADMINISTRATIVE PANEL.


SOLUTION:


To resolve the issue, please edit the file app/code/Bss/OrderDeliveryDate/Controller/Adminhtml/Order/DeliverySave.php as below: 



If you need any further assistance, please feel free to contact us. We'd be happy to support you!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article