A PHP Error was encountered

Severity: Notice

Message: Undefined index: author_id

Filename: controllers/Ecommerce.php

Line Number: 343

Backtrace:

File: /home/plusead/public_html/application/controllers/Ecommerce.php
Line: 343
Function: _error_handler

File: /home/plusead/public_html/index.php
Line: 294
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: total_students

Filename: controllers/Ecommerce.php

Line Number: 347

Backtrace:

File: /home/plusead/public_html/application/controllers/Ecommerce.php
Line: 347
Function: _error_handler

File: /home/plusead/public_html/index.php
Line: 294
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/plusead/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

An uncaught Exception was encountered

Type: TypeError

Message: Argument 1 passed to AuthorCourseModel::getByCourseID() must be of the type int, string given, called in /home/plusead/public_html/application/controllers/Ecommerce.php on line 353

Filename: /home/plusead/public_html/application/models/authors/AuthorCourseModel.php

Line Number: 7

Backtrace:

File: /home/plusead/public_html/application/controllers/Ecommerce.php
Line: 353
Function: getByCourseID

File: /home/plusead/public_html/index.php
Line: 294
Function: require_once