A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: frontend/Clubs.php

Line Number: 42

Backtrace:

File: /home/vrv/domains/voetbalreizenvergelijken.nl/public_html/application/controllers/frontend/Clubs.php
Line: 42
Function: _error_handler

File: /home/vrv/domains/voetbalreizenvergelijken.nl/public_html/public/index.php
Line: 326
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: frontend/Clubs.php

Line Number: 42

Backtrace:

File: /home/vrv/domains/voetbalreizenvergelijken.nl/public_html/application/controllers/frontend/Clubs.php
Line: 42
Function: _error_handler

File: /home/vrv/domains/voetbalreizenvergelijken.nl/public_html/public/index.php
Line: 326
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$city_id

Filename: frontend/Clubs.php

Line Number: 45

Backtrace:

File: /home/vrv/domains/voetbalreizenvergelijken.nl/public_html/application/controllers/frontend/Clubs.php
Line: 45
Function: _error_handler

File: /home/vrv/domains/voetbalreizenvergelijken.nl/public_html/public/index.php
Line: 326
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'country_id' of non-object

Filename: frontend/Clubs.php

Line Number: 46

Backtrace:

File: /home/vrv/domains/voetbalreizenvergelijken.nl/public_html/application/controllers/frontend/Clubs.php
Line: 46
Function: _error_handler

File: /home/vrv/domains/voetbalreizenvergelijken.nl/public_html/public/index.php
Line: 326
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: frontend/Clubs.php

Line Number: 48

Backtrace:

File: /home/vrv/domains/voetbalreizenvergelijken.nl/public_html/application/controllers/frontend/Clubs.php
Line: 48
Function: _error_handler

File: /home/vrv/domains/voetbalreizenvergelijken.nl/public_html/public/index.php
Line: 326
Function: require_once

Database Error

Er is een database fout opgetreden.

Error Number: 42000/1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') OR `club_away_id` IN ()) AND matches.date >= DATE(NOW()) GROUP BY `matches`.`i' at line 10

SELECT `matches`.*, `ch`.`name` AS `club_home`, `ch`.`name_url` AS `club_home_url`, `ch`.`logo` AS `club_home_logo`, `home_country`.`name_url` AS `home_country_url`, `ca`.`name` AS `club_away`, `ca`.`logo` AS `club_away_logo`, `ca`.`name_url` AS `club_away_url`, `c`.`name` AS `competition`, `c`.`name_url` AS `competition_url`, `stadions`.`name` AS `stadion_name`, `stadions`.`address` AS `stadion_address`, COUNT(pm.id) AS providers FROM `matches` LEFT JOIN `clubs` AS `ch` ON `ch`.`id` = `matches`.`club_home_id` LEFT JOIN `clubs` AS `ca` ON `ca`.`id` = `matches`.`club_away_id` LEFT JOIN `competitions` AS `c` ON `c`.`id` = `matches`.`competition_id` LEFT JOIN `provider_matches` AS `pm` ON `pm`.`match_id` = `matches`.`id` JOIN `cities` AS `home_city` ON `home_city`.`id` = `ch`.`city_id` LEFT JOIN `countries` AS `home_country` ON `home_country`.`id` = `home_city`.`country_id` LEFT JOIN `stadions` ON `stadions`.`id` = `ch`.`stadion_id` WHERE (`club_home_id` IN () OR `club_away_id` IN ()) AND matches.date >= DATE(NOW()) GROUP BY `matches`.`id` ORDER BY `matches`.`date` ASC

Filename: models/Matches_model.php

Line Number: 132