Hi,
I have a simple Stripe API for sending invoices.
But when it runs it gives the error below on the App connect page.
I have tested it multiple times with different invoice numbers and the same error appears.
Can anyone assist to where the issue could be?
{
"code": 0,
"file": "/var/www/vhosts/MY_DOMAIN.XYZ/httpdocs/dmxConnectLib/modules/api.php",
"line": 65,
"message": "http_build_query() expects parameter 1 to be array, null given",
"trace": "#0 [internal function]: exception_error_handler()\n#1 /var/www/vhosts/MY_DOMAIN.XYZ/httpdocs/dmxConnectLib/modules/api.php(65): http_build_query()\n#2 /var/www/vhosts/MY_DOMAIN.XYZ/httpdocs/dmxConnectLib/lib/App.php(197): modules\\api->send()\n#3 /var/www/vhosts/MY_DOMAIN.XYZ/httpdocs/dmxConnectLib/lib/App.php(169): lib\\App->execSteps()\n#4 /var/www/vhosts/MY_DOMAIN.XYZ/httpdocs/dmxConnectLib/lib/App.php(137): lib\\App->execSteps()\n#5 /var/www/vhosts/MY_DOMAIN.XYZ/httpdocs/dmxConnectLib/lib/App.php(126): lib\\App->exec()\n#6 /var/www/vhosts/MY_DOMAIN.XYZ/httpdocs/dmxConnectLib/lib/App.php(104): lib\\App->exec()\n#7 /var/www/vhosts/MY_DOMAIN.XYZ/httpdocs/dmxConnect/api/admin/stripe_invoices/stripe_send_invoice.php(8): lib\\App->define()\n#8 {main}"
}