Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: controllers/SingleCourse.php
Line Number: 33
Backtrace:
File: /home/cancham/public_html/cancham.org.eg/application/controllers/SingleCourse.php
Line: 33
Function: _error_handler
File: /home/cancham/public_html/cancham.org.eg/application/controllers/SingleCourse.php
Line: 16
Function: index
File: /home/cancham/public_html/cancham.org.eg/index.php
Line: 314
Function: require_once
Severity: Notice
Message: Trying to get property 'id' of non-object
Filename: controllers/SingleCourse.php
Line Number: 35
Backtrace:
File: /home/cancham/public_html/cancham.org.eg/application/controllers/SingleCourse.php
Line: 35
Function: _error_handler
File: /home/cancham/public_html/cancham.org.eg/application/controllers/SingleCourse.php
Line: 16
Function: index
File: /home/cancham/public_html/cancham.org.eg/index.php
Line: 314
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/cancham/public_html/cancham.org.eg/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/cancham/public_html/cancham.org.eg/application/models/Course.php
Line: 88
Function: query
File: /home/cancham/public_html/cancham.org.eg/application/controllers/SingleCourse.php
Line: 35
Function: get_sub_course_gallery
File: /home/cancham/public_html/cancham.org.eg/application/controllers/SingleCourse.php
Line: 16
Function: index
File: /home/cancham/public_html/cancham.org.eg/index.php
Line: 314
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 '' at line 1
SELECT * FROM sub_courses_gallery WHERE course_id=
Filename: models/Course.php
Line Number: 88