Fuel\Core\PhpErrorException [ Notice ]:
Trying to get property of non-object
461<?php { 462<?php if ($id_tournoi == '') 463<?php return Response::redirect('site/index'); 464<?php else { 465<?php $tournoi = Model_Tournois::find($id_tournoi); 466<?php $isTournoiEnEquipe = $this->typeEtNomDuAlias('eq')['type'] == $tournoi->type; 467<?php $this->data['tournoi'] = $tournoi->to_array(); 468<?php 469<?php $inscriptions = $tournoi->inscriptions; 470<?php $this->data['nbInscriptions'] = count($inscriptions); 471<?php
107<?php include COREPATH.'classes/errorhandler.php'; 108<?php class_alias('\Fuel\Core\Errorhandler', 'Errorhandler'); 109<?php class_alias('\Fuel\Core\PhpErrorException', 'PhpErrorException'); 110<?php } 111<?php 112<?php return \Errorhandler::error_handler($severity, $message, $filepath, $line); 113<?php }); 114<?php 115<?php function setup_autoloader() 116<?php { 117<?php \Autoloader::add_namespace('Fuel\\Core', COREPATH.'classes/');
461<?php { 462<?php if ($id_tournoi == '') 463<?php return Response::redirect('site/index'); 464<?php else { 465<?php $tournoi = Model_Tournois::find($id_tournoi); 466<?php $isTournoiEnEquipe = $this->typeEtNomDuAlias('eq')['type'] == $tournoi->type; 467<?php $this->data['tournoi'] = $tournoi->to_array(); 468<?php 469<?php $inscriptions = $tournoi->inscriptions; 470<?php $this->data['nbInscriptions'] = count($inscriptions); 471<?php
478<?php // fire any controller started events 479<?php \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started', '', 'none'); 480<?php 481<?php $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance); 482<?php 483<?php $response = $action->invokeArgs($this->controller_instance, $this->method_params); 484<?php 485<?php $class->hasMethod('after') and $response = $class->getMethod('after')->invoke($this->controller_instance, $response); 486<?php 487<?php // fire any controller finished events 488<?php \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished', '', 'none');
128<?php $response = Response::forge($response); 129<?php } 130<?php } 131<?php elseif ($e === false) 132<?php { 133<?php $response = Request::forge()->execute()->response(); 134<?php } 135<?php elseif ($route) 136<?php { 137<?php $response = Request::forge($route, false)->execute(array($e))->response(); 138<?php }
167<?php { 168<?php // Boot the app... 169<?php require APPPATH.'bootstrap.php'; 170<?php 171<?php // ... and execute the main request 172<?php $response = $routerequest(); 173<?php } 174<?php catch (HttpBadRequestException $e) 175<?php { 176<?php $response = $routerequest('_400_', $e); 177<?php }