A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 2

Filename: helpers/general_helper.php

Line Number: 2103

Backtrace:

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 2103
Function: _error_handler

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 3029
Function: get_categery_by_name

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 1584
Function: count_no_of_product_in_this_usestype

File: /home/cosco/public_html/application/controllers/Products.php
Line: 81
Function: getUsageType

File: /home/cosco/public_html/index.php
Line: 368
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: psql

Filename: helpers/general_helper.php

Line Number: 2112

Backtrace:

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 2112
Function: _error_handler

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 3029
Function: get_categery_by_name

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 1584
Function: count_no_of_product_in_this_usestype

File: /home/cosco/public_html/application/controllers/Products.php
Line: 81
Function: getUsageType

File: /home/cosco/public_html/index.php
Line: 368
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: mysqli::query(): Empty query

Filename: mysqli/mysqli_driver.php

Line Number: 307

Backtrace:

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 2112
Function: query

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 3029
Function: get_categery_by_name

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 1584
Function: count_no_of_product_in_this_usestype

File: /home/cosco/public_html/application/controllers/Products.php
Line: 81
Function: getUsageType

File: /home/cosco/public_html/index.php
Line: 368
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 2112
Function: query

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 3029
Function: get_categery_by_name

File: /home/cosco/public_html/application/helpers/general_helper.php
Line: 1584
Function: count_no_of_product_in_this_usestype

File: /home/cosco/public_html/application/controllers/Products.php
Line: 81
Function: getUsageType

File: /home/cosco/public_html/index.php
Line: 368
Function: require_once

Database Error

A Database Error Occurred

Error Number: 0

Filename: helpers/general_helper.php

Line Number: 2112