Warning: Undefined array key "companyId" in /home/cabitbvv/order.cabitech.co.za/settings/core/php/loadCabitechInvoices.php on line 4
Warning: Undefined variable $servername in /home/cabitbvv/order.cabitech.co.za/settings/core/php/loadCabitechInvoices.php on line 6
Warning: Undefined array key "sort" in /home/cabitbvv/order.cabitech.co.za/settings/core/php/loadCabitechInvoices.php on line 11
Warning: Undefined array key "type" in /home/cabitbvv/order.cabitech.co.za/settings/core/php/loadCabitechInvoices.php on line 12
Warning: Undefined array key "status" in /home/cabitbvv/order.cabitech.co.za/settings/core/php/loadCabitechInvoices.php on line 13
Warning: Undefined array key "offset" in /home/cabitbvv/order.cabitech.co.za/settings/core/php/loadCabitechInvoices.php on line 14
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND status LIKE '%' ORDER BY LIMIT 25 OFFSET' at line 1 in /home/cabitbvv/order.cabitech.co.za/settings/core/php/loadCabitechInvoices.php:18
Stack trace:
#0 /home/cabitbvv/order.cabitech.co.za/settings/core/php/loadCabitechInvoices.php(18): mysqli->query('SELECT no, date...')
#1 {main}
thrown in /home/cabitbvv/order.cabitech.co.za/settings/core/php/loadCabitechInvoices.php on line 18