A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Client.php

Line Number: 504

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 504
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Client.php

Line Number: 504

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 504
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Client.php

Line Number: 505

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 505
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Client.php

Line Number: 505

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 505
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Client.php

Line Number: 506

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 506
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Client.php

Line Number: 506

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 506
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Client.php

Line Number: 507

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 507
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Client.php

Line Number: 507

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 507
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Client.php

Line Number: 508

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 508
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Client.php

Line Number: 508

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 508
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Client.php

Line Number: 509

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 509
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Client.php

Line Number: 509

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 509
Function: _error_handler

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/ynotinfo/webapps/geniusholidays/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/ynotinfo/webapps/geniusholidays/application/models/Common.php
Line: 7
Function: query

File: /home/ynotinfo/webapps/geniusholidays/application/controllers/Client.php
Line: 509
Function: get_package_list

File: /home/ynotinfo/webapps/geniusholidays/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND from_date <= '2020-07-09' AND to_date >= '2020-07-09'' at line 1

SELECT * FROM package_amount_per_date WHERE `package_id` = AND from_date <= '2020-07-09' AND to_date >= '2020-07-09'

Filename: models/Common.php

Line Number: 7