Hi, I have a problem with a script that I recently acquired ... because you can see my script can receive payments by people in block.io that is a wallet platform anyway ... well my problem applies when I started test the payments.
everything was great, I answered the way I wanted to and I had to wait for the confirmations, but when I got to receive, I got the following error.
Well, I also check the error_log and this comes to me
[19-Aug-2018 00:49:11 Europe/Berlin] PHP Fatal error: Uncaught exception 'Exception' with message 'Failed: Must provide either labels, user_ids, or addresses as destinations.' in /home/ebitpolg/dogebtc.cf/lib/block_io.php:95
Stack trace:
#0 /home/ebitpolg/dogebtc.cf/lib/block_io.php(103): BlockIo->_request('withdraw', Array)
#1 /home/ebitpolg/dogebtc.cf/lib/block_io.php(45): BlockIo->_withdraw('withdraw', Array)
#2 /home/ebitpolg/dogebtc.cf/lib/blckdogeget.php(73): BlockIo->__call('withdraw', Array)
#3 /home/ebitpolg/dogebtc.cf/lib/blckdogeget.php(73): BlockIo->withdraw(Array)
#4 /home/ebitpolg/dogebtc.cf/index.php(21): include_once('/home/ebitpolg/...')
#5 {main}
thrown in /home/ebitpolg/dogebtc.cf/lib/block_io.php on line 95
As you see it says to check line 95 of the file block_io.php
and this goes in the code
if ($json_result->status != 'success') { throw new Exception('Failed: ' . $json_result->data->error_message); }
I do not know what I'm doing wrong ... since I'm still learning