Hello everybody!
I'm currently stuck with Fatal PHP error that I cannot explain. Perhaps you guys can help me.
So.. in my .ice file there is a record in interface:
Code:
int apiTradesCalcProfit(string group, TradeRecord TrIn, out TradeRecord TrOut) throws ServerError;
I'm trying to call it from PHP like this:
PHP Code:
$initial->apiTradesCalcProfit($group, $t, $res);
and it throws at me :
Code:
Fatal error: Ice_ObjectPrx::apitradescalcprofit() : expected int value but received null in ice_test.php on line 53
At the same time it perfectly works in python:
Code:
res = initial.apiTradesCalcProfit(group, t)
What could cause this error?