A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Site.php

Line Number: 377

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 377
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Site.php

Line Number: 379

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 379
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Site.php

Line Number: 379

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 379
Function: _error_handler

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

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: controllers/Site.php

Line Number: 379

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 379
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Site.php

Line Number: 380

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 380
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Site.php

Line Number: 380

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 380
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Site.php

Line Number: 381

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 381
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Site.php

Line Number: 391

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 391
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Site.php

Line Number: 392

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 392
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Site.php

Line Number: 392

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 392
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Site.php

Line Number: 393

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 393
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Site.php

Line Number: 393

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 393
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$user_id

Filename: controllers/Site.php

Line Number: 394

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 394
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Site.php

Line Number: 394

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 394
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Site.php

Line Number: 396

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 396
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Site.php

Line Number: 400

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 400
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Site.php

Line Number: 419

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 419
Function: _error_handler

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

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/dwrate/public_html/application/controllers/Site.php
Line: 422
Function: query

File: /home/dwrate/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 'ORDER BY rand() limit 6' at line 11

select *,course.id as course_id from `courses_details` as course_details inner join `courses` as course on course.id=course_details.course_id inner join `courses_period` as course_period on course_period.course_id=course.id where ( course_details.course_field_id like '0' or course_details.course_field_id like '%%' ) and course.status=2 and course.seen=1 and course.id <> ORDER BY rand() limit 6

Filename: controllers/Site.php

Line Number: 422