NetConnection.Call.Failed: Undefined offset: 0 - as3 AMF problem sending class instance.

Submitted by admin on Mon, 05/08/2023 - 10:20
It took me hours to solve the problem with continuous "NetConnection.Call.Failed" on Flash/Flex, server side AMF3 parser keeps receiving empty data array... Showing notices at watchdog: Notice: Undefined offset: 0 in Zend_Amf_Request->readBody() (line 186 of .\sites\all\libraries\Zend\Amf\Request.php). and various Zend_Amf_Exceptions... Want to know how to solve it?