I got an error on my site.
Fatal error: Can't use function return value in write context in /home4/massspreadz/public_html/www.gamagesteelfurniture.lk/wp-content/plugins/booking/core/admin/wpbc-class-timeline.php on line 1258
Here is the code that is causing the error:
//FixIn: 8.1.3.34
if ( ! empty( get_bk_option( 'booking_time_format') ) ) {
$time_show = date_i18n( str_replace( ':i', '', get_bk_option( 'booking_time_format' ) ), mktime( $tt * $tm , 0, 0 ) );
echo ( $view_days_num < 31 ) ? $time_show : '';
} else {
echo ( ( $view_days_num < 31 ) ? ( ( ($tt*$tm) < 10?'0':'') . ($tt*$tm) . '<sup>:00</sup>' ) : '' );
}
?></div><?php