OK, thank you
Have turned on the debug and get the following error in the inspect tab:
Failed to load resource: the server responded with a status of 500 ()
https://mydomain.com/dmxConnect/api/Categories/CategoriesAllBindery.php?cat_id=1%2C2
That page now shows;
// 20220620092124
// https://mydomain.com/dmxConnect/api/Categories/CategoriesAllBindery.php?cat_id=1%2C2
{
“code”: 0,
“file”: “/var/www/vhosts/mydomain.com/httpdocs/dmxConnectLib/lib/db/Connection.php”,
“line”: 141,
“message”: “Array to string conversion”,
“trace”: “#0 [internal function]: exception_error_handler(8, ‘Array to string…’, ‘/var/www/vhosts…’, 141, Array)\n#1 /var/www/vhosts/mydomain.com/httpdocs/dmxConnectLib/lib/db/Connection.php(141): PDOStatement->bindParam(2, ‘Array’, 2)\n#2 /var/www/vhosts/mydomain.com/httpdocs/dmxConnectLib/modules/dbconnector.php(93): lib\db\Connection->execute(‘SELECT * FROM `…’, Array, true, ‘’, Array)\n#3 /var/www/vhosts/mydomain.com/httpdocs/dmxConnectLib/lib/App.php(197): modules\dbconnector->select(Object(stdClass), ‘query’, Array)\n#4 /var/www/vhosts/mydomain.com/httpdocs/dmxConnectLib/lib/App.php(137): lib\App->execSteps(Object(stdClass))\n#5 /var/www/vhosts/mydomain.com/httpdocs/dmxConnectLib/lib/App.php(126): lib\App->exec(Object(stdClass), false)\n#6 /var/www/vhosts/mydomain.com/httpdocs/dmxConnectLib/lib/App.php(104): lib\App->exec(Object(stdClass))\n#7 /var/www/vhosts/mydomain.com/httpdocs/dmxConnect/api/Categories/CategoriesAllBindery.php(8): lib\App->define(Object(stdClass))\n#8 {main}”
}