A PHP Error was encountered

Severity: Notice

Message: Undefined variable: data

Filename: controllers/Mainpage.php

Line Number: 8

Backtrace:

File: /var/www/chtohochu.ru/public_html/application/controllers/Mainpage.php
Line: 8
Function: _error_handler

File: /var/www/chtohochu.ru/public_html/index.php
Line: 315
Function: require_once

Что erNХочу