Severity: Warning
Message: Undefined array key "cat_id"
Filename: controllers/Page.php
Line Number: 284
Backtrace:
File: /home/mtoys/public_html/application/controllers/Page.php
Line: 284
Function: _error_handler
File: /home/mtoys/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Undefined array key "cat_name"
Filename: controllers/Page.php
Line Number: 285
Backtrace:
File: /home/mtoys/public_html/application/controllers/Page.php
Line: 285
Function: _error_handler
File: /home/mtoys/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/mtoys/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /home/mtoys/public_html/application/controllers/Page.php
Line: 288
Function: query
File: /home/mtoys/public_html/index.php
Line: 315
Function: require_once
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 'AND active='Yes' AND lang_id=1' at line 1
SELECT * FROM courses WHERE cat_id= AND active='Yes' AND lang_id=1
Filename: controllers/Page.php
Line Number: 288