ob_end_flush(): failed to send buffer of zlib output compression (0) in external php

Found the solution at the problem: using “return” wasn’t the right way… have to use “echo” in this way because it isn’t a function but a simple PHP that gives back an object. Thanks again to all

tech