I looked the data over and it all data returned normal
(
[0] => tazio2003@gmail.com
[1] => Invoice #00025
[2] => Array
(
[sum] => 750,
[page] => OrderPage Object
)
)
code:
error_log(print_r([$to, $orderNr, $data], true));