Sveriges Domareförbund

A fatal error has occurred

Error text:

Uncaught TypeError: Cannot access offset of type string on string in /customers/d/3/6/domareforbundet.se/httpd.www/site-content/widgets/events.php:238 Stack trace: #0 /customers/d/3/6/domareforbundet.se/httpd.www/site-admin/functions.php(6847): block_render_events('193', Array) #1 /customers/d/3/6/domareforbundet.se/httpd.www/site-admin/functions.php(7178): bliss_draw_widget('layout', '', 'event', 'aside', '193', 'events', NULL, Array) #2 /customers/d/3/6/domareforbundet.se/httpd.www/site-content/themes/domareforbundet/page.php(13): bliss_draw_section('aside') #3 /customers/d/3/6/domareforbundet.se/httpd.www/site-admin/bootstrap.php(508): include('/customers/d/3/...') #4 /customers/d/3/6/domareforbundet.se/httpd.www/index.php(8): require('/customers/d/3/...') #5 {main} thrown

In the file /customers/d/3/6/domareforbundet.se/httpd.www/site-content/widgets/events.php at row 238



Last SQL query:

SELECT `bliss_events_master`.id AS event_id,`bliss_events_items`.id AS item_id,`bliss_events_items`.title,`bliss_events_items`.alias,`bliss_events_master`.location,text,excerpt,calendar_id,`bliss_events_calendars`.alias AS calendar_alias,`bliss_events_calendars`.color AS calendar_color,`bliss_events_calendars`.color_custom AS calendar_color_custom,`bliss_events_items`.created_date,`bliss_events_items`.created_by,start_date,end_date,active,full_day,allow_attendance,allow_comments,link_url,link_directly,price,paid_event,`bliss_events_master`.image AS image,`bliss_events_master`.image_size AS image_size,COUNT(bliss_events_items.id) AS num_of_languages,`bliss_users`.userId,`bliss_users`.firstName AS first_name,`bliss_users`.lastName AS last_name,IF(start_date > UNIX_TIMESTAMP('2024-07-24 00:00:00') AND start_date < UNIX_TIMESTAMP('2024-07-24 23:59:59'), '1', '0') AS today,participants, max_participants, min_participants,views,comments,`bliss_events_master`.attributes,'event' AS `type` FROM `bliss_events_master` JOIN `bliss_events_items` ON (`bliss_events_master`.id=`bliss_events_items`.event_id) LEFT JOIN `bliss_users` ON `bliss_users`.userId=`bliss_events_items`.created_by LEFT JOIN `bliss_events_calendars` ON `bliss_events_calendars`.id=`bliss_events_master`.calendar_id WHERE `bliss_events_items`.language='sv' AND `bliss_events_master`.active = '1' AND (start_date > UNIX_TIMESTAMP() OR start_date < UNIX_TIMESTAMP() AND end_date > UNIX_TIMESTAMP()) AND (end_date > UNIX_TIMESTAMP() OR end_date IS NULL) AND calendar_id IN (8,9,7) GROUP BY `bliss_events_master`.id ORDER BY start_date ASC LIMIT 0, 5;