In xmlrpctester.remote.inc, line 131 says: if($error->is_error), but if everything was ok during the xmlrpc() call, $error is NULL causing the above notice message.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1342604_notice_trying_to_get_property_5.patch | 1.1 KB | zserno |
| #2 | xmlrpc_notice.jpg | 103.21 KB | zserno |
| #1 | 1342604_notice_trying_to_get_property.patch | 546 bytes | zserno |
Comments
Comment #1
zserno commentedAttached patch fixes this little issue, however I'm not sure that's the most elegant solution.
Thanks for this neat module, it came quite handy for me. :)
Comment #2
zserno commentedHere's a screenshot of the issue while trying to test system.listMethods.
Comment #3
snufkin commentedWould that not throw an error still? Since it still tests for $error->is_error. How about this:
Comment #4
zserno commentedPHP interpreter starts evaluation from left to right so if any of the AND condition is FALSE it stops further examination, that's why it works.
Nevertheless I vote for your solution.
Comment #5
zserno commentedRolled into a proper patch.
Comment #6
snufkin commented