Here's what I changed to allow easybitcoin-PHP which doesn't require changing the php.ini for fopen. Bitcoin's dev wiki recommends not using jsonrpc directly and suggests easybitcoin-PHP.
The easybitcoin library
https://github.com/aceat64/EasyBitcoin-PHPAdd the library to the project :
In common.php
include('easybitcoin.php');
Remove the old
#include('jsonRPCClient.php');
In wallet/classes/Client.php
Change Row 12 :
$this->jsonrpc = new jsonRPCClient($this->uri);
to
$this->jsonrpc = new Bitcoin($user, $pass, $host, $port);
Thanks bro, its done.
can you tell me, how to fix this

You can hide by commenting the first 3 line in common.php
//ini_set('display_startup_errors',1);
//ini_set('display_errors',1);
//error_reporting(-1);
Though that wont really solve the problem. That is only to hide the warning message, but does not fix the function
If anyone can fix it, or already fix it, do share it with us.
Thanks