Error Blockchain API Class


(Azhar Mustafa) #1

Please help to resolve this issue !

require(‘lib/Blockchain.php’);
$Blockchain = new [Blockchain](https://mindmajix.com/blockchain-training)\Blockchain(“my_api_code”);
$Blockchain->Wallet->credentials(‘id_blockchain’, ‘password’, ‘second_pass’);
$address = $Blockchain->Wallet->getNewAddress($label=null);
echo $address;
Every time i execute the script, i get this error message:

( ! ) Fatal error: Class ‘Blockchain\Create\Create’ not found in \lib\Blockchain.php on line 65
I am using this class: https://github.com/blockchain/api-v1-client-php

What is the problem please ?