Communicator.cpp: In function 'void zif_Ice_identityToString(zend_execute_data*, zval*)':
Communicator.cpp:1377:22: error: '_this' was not declared in this scope
string str = _this->getCommunicator()->identityToString(id);
Communicator.cpp: In function 'void zif_Ice_stringToIdentity(zend_execute_data*, zval*)':
Communicator.cpp:1399:28: error: '_this' was not declared in this scope
Ice::Identity id = _this->getCommunicator()->stringToIdentity(s);
Hi, we are seeing this error when an ICE exception is being printed.
This is using the latest master release (c342686092fb0112224fbd1344af2752a20a1b81) on PHP 7.0.4-7ubuntu2.1, Ubuntu 16.04.
"Method Ice_NoEndpointException::__toString() must not throw an exception, caught InvalidArgumentException: expected string value but received unknown in ..."
Thanks for reporting this @nathanbnl.
I've committed a fix for this on master (b7ab473826d65e5acfad9cb161c3b00782b67b03). Please let me know if this solves your problem.
@joegeorge just tested using that commit, however still seeing the same error message
Can you provide some test code? Also, did you rebuild the C++ extension after updating?
Yes, I had performed a complete rebuild, and the error was still showing.
However, have just tested the latest master and this seems to be fixed.
I guess 0df866715f168e512078df094a59b45bf21c4d39 has done the job.