A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Course.php

Line Number: 20

Backtrace:

File: /var/www/html/application/modules/frontend/course/controllers/Course.php
Line: 20
Function: _error_handler

File: /var/www/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 /var/www/html/application/modules/frontend/course/views/index.php:179)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/html/application/helpers/default_helper.php
Line: 91
Function: get

File: /var/www/html/application/views/front/image_video_gallery.php
Line: 8
Function: get_ImagePageWise

File: /var/www/html/application/third_party/MX/Loader.php
Line: 356
Function: include

File: /var/www/html/application/third_party/MX/Loader.php
Line: 298
Function: _ci_load

File: /var/www/html/application/modules/frontend/course/views/index.php
Line: 181
Function: view

File: /var/www/html/application/third_party/MX/Loader.php
Line: 356
Function: include

File: /var/www/html/application/third_party/MX/Loader.php
Line: 298
Function: _ci_load

File: /var/www/html/application/views/front/layout_inner.php
Line: 4
Function: view

File: /var/www/html/application/third_party/MX/Loader.php
Line: 356
Function: include

File: /var/www/html/application/third_party/MX/Loader.php
Line: 298
Function: _ci_load

File: /var/www/html/application/modules/frontend/course/controllers/Course.php
Line: 29
Function: view

File: /var/www/html/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1054

Unknown column 'course' in 'where clause'

SELECT * FROM `tbl_images_gallery` WHERE `course` = 1

Filename: helpers/default_helper.php

Line Number: 91