A PHP Error was encountered

Severity: 8192

Message: explode(): Passing null to parameter #2 ($string) of type string is deprecated

Filename: controllers/Home.php

Line Number: 72

Backtrace:

File: /home/baligoodvacation/domains/baligoodvacation.com/public_html/application/controllers/Home.php
Line: 72
Function: explode

File: /home/baligoodvacation/domains/baligoodvacation.com/public_html/index.php
Line: 328
Function: require_once

An uncaught Exception was encountered

Type: mysqli_sql_exception

Message: 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 '' at line 1

Filename: /home/baligoodvacation/domains/baligoodvacation.com/public_html/system/database/drivers/mysqli/mysqli_driver.php

Line Number: 307

Backtrace:

File: /home/baligoodvacation/domains/baligoodvacation.com/public_html/application/controllers/Home.php
Line: 77
Function: query

File: /home/baligoodvacation/domains/baligoodvacation.com/public_html/index.php
Line: 328
Function: require_once