Oh noes! An error!
Uncaught PDOException
#23000: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '9242020' for key 'PRIMARY'
— /classes/DB.class.php L.79
Stack trace:
PDOStatement->execute(array ( 0 => '9242020', 1 => '5120', 2 => '\'4691\'',))
— /classes/DB.class.php L.79
DB::update('insert into `pokemon_exp` (`pokemonid`,`eggexp`,`pkmnexp`) values (?,?,?)', array ( 0 => '9242020', 1 => '5120', 2 => '\'4691\'',))
— /classes/DB.class.php L.83
DB::insert('insert into `pokemon_exp` (`pokemonid`,`eggexp`,`pkmnexp`) values (?,?,?)', array ( 0 => '9242020', 1 => '5120', 2 => '\'4691\'',))
— /classes/PokemonLevel.class.php L.18
PokemonLevel->__construct_missing(9242020)
— /classes/traits/Cacheable.trait.php L.59
PokemonLevel->reloadFromDB()
— /classes/traits/Cacheable.trait.php L.118
PokemonLevel->__preload(array ( 0 => '\'pokemonid\'', 1 => '\'eggexp\'', 2 => '\'pkmnexp\'',))
— /classes/PokemonLevel.class.php L.21
PokemonLevel->__construct_extra(9242020)
— /classes/traits/Cacheable.trait.php L.51
PokemonLevel->__construct(9242020)
— ?? L.0
ReflectionClass->newInstanceArgs(array ( 0 => '9242020',))
— /classes/traits/Factory.trait.php L.10
PokemonLevel::get(9242020)
— /classes/Pokemon.class.php L.59
Pokemon->__construct_extra(9242020)
— /classes/traits/Cacheable.trait.php L.51
Pokemon->__construct(9242020)
— ?? L.0
ReflectionClass->newInstanceArgs(array ( 0 => '9242020',))
— /classes/traits/Factory.trait.php L.10
Pokemon::get(9242020)
— /modules/summary/__construct.php L.11
require('/modules/summary/__construct.php')
— /classes/Template.class.php L.31
Template::loadModule('summary', array ( 0 => '\'JY9h2\'',))
— /init.php L.99
require('/init.php')
— /index.php L.1
