I'm getting this error on every page since I uploaded website to php 7.4, with Pinpoint booking system (free version, but I guess also with paid). Tried to ask for help in the support forum, but I don't have any hope, as help there just sucks.
Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in / domain /wp-content/plugins/booking-system/includes/calendars/class-backend-calendar-schedule.php on line 621
Line 620 (and 621) are:
Any php master who can help me with this?
Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in / domain /wp-content/plugins/booking-system/includes/calendars/class-backend-calendar-schedule.php on line 621
Line 620 (and 621) are:
PHP:
if(!empty($selectedHours)){
$hours_length = count($selectedHours)-(!$settings_calendar->hours_multiple_select == 'true' ? true:($settings_calendar->hours_add_last_hour_to_total_price == 'true' && $settings_calendar->hours_interval_enabled == 'false' ? true:false) || ($settings_calendar->hours_multiple_select == 'false' ? false:($settings_calendar->hours_interval_enabled == 'true' ? true:false)) && ($settings_calendar->hours_multiple_select == 'true' ? true:false) ? 1:0);
Any php master who can help me with this?
Last edited: