THE LEAGUE

TOUT SUR LA LEAGUE

Les players, les teams et l'actu des matchs

LA TEAM À LA UNE

 Logo Angry Owls

LES PLAYERS À LA UNE

Logo de <br />
<font size='1'><table class='xdebug-error xe-warning' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan=( ! ) Warning: Array to string conversion in /home/homes/homes/paulbourgeon/sites/PHP/projet league/the-league/vendor/twig/twig/src/Template.php on line 359 Call Stack #TimeMemoryFunctionLocation 10.0120358888{main}( ).../index.php:0 21.42861589248Router->handleRequest( $get = [] ).../index.php:5 31.42861589248HomeController->index( ).../Router.php:25 41.59071729360AbstractController->render( $template = 'home/index.html.twig', $data = ['featuredTeam' => ['team' => class Team { ... }, 'logo' => class Media { ... }], 'featuredTeamPlayers' => [0 => class Player { ... }, 1 => class Player { ... }, 2 => class Player { ... }], 'featuredPlayers' => [0 => [...], 1 => [...], 2 => [...]], 'lastMatch' => class Games { private int $id = 3; private string $name = 'Vendetta vs Owls'; private DateTime $date = class DateTime { ... }; private int $team_1 = 5; private int $team_2 = 1; private int $winner = 5 }, 'lastMatchTeams' => ['team1' => class Team { ... }, 'team2' => class Team { ... }]] ).../HomeController.php:65 51.59071729360Twig\Environment->render( $name = 'home/index.html.twig', $context = ['featuredTeam' => ['team' => class Team { ... }, 'logo' => class Media { ... }], 'featuredTeamPlayers' => [0 => class Player { ... }, 1 => class Player { ... }, 2 => class Player { ... }], 'featuredPlayers' => [0 => [...], 1 => [...], 2 => [...]], 'lastMatch' => class Games { private int $id = 3; private string $name = 'Vendetta vs Owls'; private DateTime $date = class DateTime { ... }; private int $team_1 = 5; private int $team_2 = 1; private int $winner = 5 }, 'lastMatchTeams' => ['team1' => class Team { ... }, 'team2' => class Team { ... }]] ).../AbstractController.php:17 63.52813464024Twig\TemplateWrapper->render( $context = ['featuredTeam' => ['team' => class Team { ... }, 'logo' => class Media { ... }], 'featuredTeamPlayers' => [0 => class Player { ... }, 1 => class Player { ... }, 2 => class Player { ... }], 'featuredPlayers' => [0 => [...], 1 => [...], 2 => [...]], 'lastMatch' => class Games { private int $id = 3; private string $name = 'Vendetta vs Owls'; private DateTime $date = class DateTime { ... }; private int $team_1 = 5; private int $team_2 = 1; private int $winner = 5 }, 'lastMatchTeams' => ['team1' => class Team { ... }, 'team2' => class Team { ... }]] ).../Environment.php:333 73.52813464024Twig\Template->render( $context = ['featuredTeam' => ['team' => class Team { ... }, 'logo' => class Media { ... }], 'featuredTeamPlayers' => [0 => class Player { ... }, 1 => class Player { ... }, 2 => class Player { ... }], 'featuredPlayers' => [0 => [...], 1 => [...], 2 => [...]], 'lastMatch' => class Games { private int $id = 3; private string $name = 'Vendetta vs Owls'; private DateTime $date = class DateTime { ... }; private int $team_1 = 5; private int $team_2 = 1; private int $winner = 5 }, 'lastMatchTeams' => ['team1' => class Team { ... }, 'team2' => class Team { ... }]] ).../TemplateWrapper.php:51 83.52813481032Twig\Template->display( $context = ['featuredTeam' => ['team' => class Team { ... }, 'logo' => class Media { ... }], 'featuredTeamPlayers' => [0 => class Player { ... }, 1 => class Player { ... }, 2 => class Player { ... }], 'featuredPlayers' => [0 => [...], 1 => [...], 2 => [...]], 'lastMatch' => class Games { private int $id = 3; private string $name = 'Vendetta vs Owls'; private DateTime $date = class DateTime { ... }; private int $team_1 = 5; private int $team_2 = 1; private int $winner = 5 }, 'lastMatchTeams' => ['team1' => class Team { ... }, 'team2' => class Team { ... }]], $blocks = ??? ).../Template.php:373 Array">

/home/homes/homes/paulbourgeon/sites/PHP/projet league/the-league/controller/HomeController.php:68:
array (size=2)
  'team' => 
    object(Team)[67]
      private ?int 'id' => int 1
      private string 'name' => string 'Angry Owls' (length=10)
      private string 'description' => string 'A team of angry owls' (length=20)
      private int 'logo' => int 1
      private ?string 'logoUrl' => null
      private ?string 'logoAlt' => null
  'logo' => 
    object(Media)[74]
      private ?int 'id' => int 1
      private string 'url' => string 'https://maridoucet.sites.3wa.io/league/teams/angry-owls.png' (length=59)
      private string 'alt' => string 'Logo Angry Owls' (length=15)