A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'item_id' of non-object

Filename: controllers/page.php

Line Number: 274

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'training_is_old' of non-object

Filename: controllers/page.php

Line Number: 275


Fatal error: Uncaught Error: Call to a member function result() on bool in C:\xampp\htdocs\Dropbox\agro\application\models\site\index_model.php:586 Stack trace: #0 C:\xampp\htdocs\Dropbox\agro\application\controllers\page.php(275): Index_model->main_page_slide_new_tranings3(1, NULL, 1, 1, 0, 0, 2, 0, 12, 0, 370) #1 C:\xampp\htdocs\Dropbox\agro\system\core\CodeIgniter.php(360): Page->training(370) #2 C:\xampp\htdocs\Dropbox\agro\index.php(205): require_once('C:\\xampp\\htdocs...') #3 {main} thrown in C:\xampp\htdocs\Dropbox\agro\application\models\site\index_model.php on line 586