A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 2

Filename: controllers/Main.php

Line Number: 10

Backtrace:

File: /var/www/html/application/controllers/Main.php
Line: 10
Function: _error_handler

File: /var/www/html/index.php
Line: 322
Function: require_once

TCPDF ERROR: Some data has already been output, can't send PDF file