A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: helpers/package_helper.php

Line Number: 181

Backtrace:

File: /home/medazon/public_html/application/helpers/package_helper.php
Line: 181
Function: _error_handler

File: /home/medazon/public_html/application/views/Frontend/PackageDetails.php
Line: 24
Function: GetPackageDetails

File: /home/medazon/public_html/application/controllers/Frontend.php
Line: 131
Function: view

File: /home/medazon/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: helpers/package_helper.php

Line Number: 181

Backtrace:

File: /home/medazon/public_html/application/helpers/package_helper.php
Line: 181
Function: _error_handler

File: /home/medazon/public_html/application/views/Frontend/PackageDetails.php
Line: 24
Function: GetPackageDetails

File: /home/medazon/public_html/application/controllers/Frontend.php
Line: 131
Function: view

File: /home/medazon/public_html/index.php
Line: 315
Function: require_once

SQLSTATE[42000]: Syntax error or access violation: 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 '' at line 1