A PHP Error was encountered

Severity: Warning

Message: Missing argument 2 for User_Dashboard_Model::get_users_reports_2(), called in /home/abhaf/public_html/application/controllers/Events_detail_others.php on line 95 and defined

Filename: models/User_dashboard_model.php

Line Number: 305

Backtrace:

File: /home/abhaf/public_html/application/models/User_dashboard_model.php
Line: 305
Function: _error_handler

File: /home/abhaf/public_html/application/controllers/Events_detail_others.php
Line: 95
Function: get_users_reports_2

File: /home/abhaf/public_html/application/controllers/Events_detail_others.php
Line: 18
Function: index

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: cat

Filename: models/User_dashboard_model.php

Line Number: 308

Backtrace:

File: /home/abhaf/public_html/application/models/User_dashboard_model.php
Line: 308
Function: _error_handler

File: /home/abhaf/public_html/application/controllers/Events_detail_others.php
Line: 95
Function: get_users_reports_2

File: /home/abhaf/public_html/application/controllers/Events_detail_others.php
Line: 18
Function: index

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

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/abhaf/public_html/application/models/User_dashboard_model.php
Line: 308
Function: query

File: /home/abhaf/public_html/application/controllers/Events_detail_others.php
Line: 95
Function: get_users_reports_2

File: /home/abhaf/public_html/application/controllers/Events_detail_others.php
Line: 18
Function: index

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

Database Error

A Database Error Occurred

Error Number: 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 2

SELECT * FROM file_gallery WHERE file_gallery.type_id=449 AND file_gallery.image_type=0 AND file_gallery.type =

Filename: models/User_dashboard_model.php

Line Number: 308