Skip to content

Every first time get pokemon information this will happend #5

@milowei

Description

@milowei

$PokemonGoAPI->getInventories()->getPokeBank()->getPokemonById(\POGOProtos\Enums\PokemonId::PIDGEY);

Fatal error: Uncaught Error: Call to a member function getInventoryItemsArray() on null in /Applications/XAMPP/xamppfiles/htdocs/pkg2/src/PokemonGoAPI/Api/Inventory/Inventories.php:68 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/pkg2/src/PokemonGoAPI/Api/PokemonGoAPI.php(49): PokemonGoAPI\Api\Inventory\Inventories->updateInventories(false) #1 /Applications/XAMPP/xamppfiles/htdocs/pkg2/examples/CheckPidgeyExample.php(20): PokemonGoAPI\Api\PokemonGoAPI->__construct(Array) #2 /Applications/XAMPP/xamppfiles/htdocs/pkg2/examples/CheckPidgeyExample.php(41): CheckPidgeyExample->run() #3 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/pkg2/src/PokemonGoAPI/Api/Inventory/Inventories.php on line 68

After I refresh the page and this will be fixed;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions