jambtc / poawallet

Poa Wallet, the Progressive Web App mobile works with several crypto tokens and blockchain wallets. With Poa Wallet, you are in control over your funds. Receive, send, store and exchange your cryptocurrency within the mobile interface.
https://poawallet.net
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

Errore subito dopo l'inserimento di un nuovo wallet. #24

Closed jambtc closed 3 years ago

jambtc commented 3 years ago

chrome per MAc

{"name":"PHP Notice","message":"Trying to get property 'number' of non-object","code":8,"type":"yii\base\ErrorException","file":"/var/www/megapay/controllers/SpawnController.php","line":115,"stack-trace":["#0 /var/www/megapay/controllers/SpawnController.php(115): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/var/www/megapa...', 115, Array)","#1 [internal function]: app\controllers\SpawnController->actionIndex()","#2 /var/www/megapay/vendor/yiisoft/yii2/base/InlineAction.php

congtroller/spawn riga 115 il block non esiste ?!?

jambtc commented 3 years ago
$block = Yii::$app->Erc20->getBlockInfo();
$boltWallet->blocknumber = ($block->number === null) ? '0x0' : $block->number;