Notice: Trying to get property 'id' of non-object in /var/www/sporty2.net/public/core/app/view/events-view.php on line 307

Notice: Trying to get property 'sport_id' of non-object in /var/www/sporty2.net/public/core/app/view/events-view.php on line 308

Fatal error: Uncaught Error: Call to a member function fetch_array() on boolean in /var/www/sporty2.net/public/core/controller/Model.php:44 Stack trace: #0 /var/www/sporty2.net/super/core/app/model/SportData.php(92): Model::one(false, Object(SportData)) #1 /var/www/sporty2.net/public/core/app/view/events-view.php(308): SportData::getById(NULL) #2 /var/www/sporty2.net/public/core/controller/View.php(23): include('/var/www/sporty...') #3 /var/www/sporty2.net/public/core/app/layouts/layout.php(500): View::load('events') #4 /var/www/sporty2.net/public/core/controller/Module.php(11): include('/var/www/sporty...') #5 /var/www/sporty2.net/public/core/app/init.php(26): Module::loadLayout('index') #6 /var/www/sporty2.net/public/core/controller/Lb.php(25): include('/var/www/sporty...') #7 /var/www/sporty2.net/public/index.php(24): Lb->start() #8 {main} thrown in /var/www/sporty2.net/public/core/controller/Model.php on line 44