LibreBooking / app

Repository for the last open source version of Booked Scheduler. The "develop" branch contains the most current working code of the project and should be considered beta. The "master" branch is the most current stable release of BookedScheduler. Please read doc/README.md for further details.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrading from 2.8.3 to 2.8.6 causes reservations not to load

FlaminWrap opened this issue · comments

Hello,

I am trying to migrate an instance from 2.8.3 to 2.8.6. Everything works perfectly on 2.8.3 but after upgrading to 2.8.6 the bookings and calendar views stop working. The booking view hangs on Loading reservations and the Calendar view do not display anything but an empty calendar and some php errors.

1

image

Any help would be appreciated.

So I have found the error message which is:

<br/><b>Deprecated</b>: Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/html/html/lib/Common/ContrastingColor.php</b> on line <b>18</b><br/><br/><b>Deprecated</b>: Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/html/html/lib/Common/ContrastingColor.php</b> on line <b>19</b><br/><br/><b>Deprecated</b>: Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/html/html/lib/Common/ContrastingColor.php</b> on line <b>20</b><br/><br/><b>Deprecated</b>: Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/html/html/lib/Common/ContrastingColor.php</b> on line <b>18</b><br/><br/><b>Deprecated</b>: Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/html/html/lib/Common/ContrastingColor.php</b> on line <b>19</b><br/><br/><b>Deprecated</b>: Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/html/html/lib/Common/ContrastingColor.php</b> on line <b>20</b><br/><br/><b>Deprecated</b>: Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/html/html/lib/Common/ContrastingColor.php</b> on line <b>18</b><br/><br/><b>Deprecated</b>: Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/html/html/lib/Common/ContrastingColor.php</b> on line <b>19</b><br/><br/><b>Deprecated</b>: Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/html/html/lib/Common/ContrastingColor.php</b> on line <b>20</b><br/>[

Looks like "BackgroundColor": "#orange", is the problem as #orange is not a hex value.

{ "StartDate": "1692788400", "EndDate": "1700092800", "Id": "1", "ReferenceNumber": "64e4889e19e3a615165841", "ResourceId": "1", "RequiresCheckin": false, "BorderColor": "", "BackgroundColor": "#orange", "TextColor": "#FFFFFF", "IsReservation": true, "IsBuffer": false, "IsBuffered": false, "Label": "Test", "IsPending": false, "IsNew": false, "IsUpdated": false, "IsOwner": false, "IsPast": false, "StartTime": "12:00 PM", "EndTime": "12:00 AM", "IsParticipant": false, "IsAdmin": true, "BufferedStartDate": null, "BufferedEndDate": null, "BufferedStartTime": null, "BufferedEndTime": null },

Closing this as it is no longer an issue, for an unknown reason.