jamuraa/gatherling — Issue #30: Player CP: New Player Bug
Author: Dabil
Created: 2012-02-17 16:20:39+00:00
State: open

The player cp has a bug with new players. It attempts to load their history, and since there is no history it crashes with this error:

Fatal error: Uncaught exception 'Exception' with message 'Entry for Test User in not found' in /home/pauperkr/public_html/gatherling/models/Entry.php:36 Stack trace: #0 /home/pauperkr/public_html/gatherling/player.php(189): Entry->__construct(NULL, 'Hoju_ca') #1 /home/pauperkr/public_html/gatherling/player.php(152): print_recentDeckTable() #2 /home/pauperkr/public_html/gatherling/player.php(76): print_mainPlayerCP(Object(Player)) #3 {main} thrown in/home/pauperkr/public_html/gatherling/models/Entry.phpon line 36

This is a problem since players cannot register themselves to events. Once a host registers the new player to an event, the player then has a history and the new player cp will work.