Class OSBHelperIcs not found in common.php

  • Ronald Wouter
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 hours 3 minutes ago - 11 hours 2 minutes ago #178446 by Ronald Wouter
Class OSBHelperIcs not found in common.php was created by Ronald Wouter
Hi OS,
We have received a report of an error in OS Services Booking. When completing a booking from the frontend, the process fails with the following error: Class OSBHelperIcs not found
The error occurs in: helpers -> common.php
Scenario:
  • User makes a booking from the frontend.
  • At the final step / completion step, the error appears.
  • The booking completion process is affected.
Could you please check this issue and provide a fix?
Thanks,
Ro
Last edit: 11 hours 2 minutes ago by Ronald Wouter.

Please Log in or Create an account to join the conversation.

More
9 hours 58 minutes ago #178450 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Class OSBHelperIcs not found in common.php
Hi Ronald,
The issue with the missing OSBHelperIcs class when completing a booking has been fixed. This fix will be included in the next release of OS Services Booking.
The cause of this issue was related to the recent code restructuring in OS Services Booking. We changed the way classes are loaded so that they are only called when needed, instead of loading many classes globally as before. This helps reduce memory usage and improve the loading speed of OS Services Booking functions.
However, in this specific workflow, the OSBHelperIcs class was not loaded properly when the booking was completed from the frontend. We have corrected it now.

Best regards,
Dam

Please Log in or Create an account to join the conversation.

Moderators: Dang Thuc Dam