A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 2

Filename: controllers/Report.php

Line Number: 675

Backtrace:

File: /home/marketsandsurvey/public_html/application/controllers/Report.php
Line: 675
Function: _error_handler

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/marketsandsurvey/public_html/application/models/Reportmodel.php
Line: 129
Function: get

File: /home/marketsandsurvey/public_html/application/controllers/Report.php
Line: 684
Function: getAvgPrice

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

Database Error

A Database Error Occurred

Error Number: 1146

Table 'marketsandsurvey_mrktsrveydb.tbl_weighted_avg_price' doesn't exist

SELECT `price_1`, `price_2`, `price_3`, `price_4`, `price_5`, `continent`, `country` FROM `tbl_weighted_avg_price` WHERE `product_name` = 'Paracetamol' AND `Continent` IN('Africa', 'Asia', 'Europe', 'North America', 'Oceania', 'South America')

Filename: models/Reportmodel.php

Line Number: 129