A PHP Error was encountered

Severity: Notice

Message: Array to string conversion

Filename: database/DB_query_builder.php

Line Number: 2442

Backtrace:

File: /home/hiphipho/public_html/application/models/CampaignModel.php
Line: 415
Function: get

File: /home/hiphipho/public_html/application/controllers/IndexController.php
Line: 18
Function: get_campaign_region_id

File: /home/hiphipho/public_html/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/hiphipho/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/hiphipho/public_html/application/models/CampaignModel.php
Line: 415
Function: get

File: /home/hiphipho/public_html/application/controllers/IndexController.php
Line: 18
Function: get_campaign_region_id

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

Database Error

A Database Error Occurred

Error Number: 1054

Unknown column 'Array' in 'where clause'

SELECT `region_id` FROM `campaigns` WHERE `id` = Array

Filename: models/CampaignModel.php

Line Number: 415