Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/vhosts/hanroxfarm.co.uk/httpdocs/orders/include/phpfunctions.php:1015
Stack trace:
#0 /var/www/vhosts/hanroxfarm.co.uk/httpdocs/orders/include/phpfunctions.php(1139): xt_getvar(Object(XTempl), 'script')
#1 /var/www/vhosts/hanroxfarm.co.uk/httpdocs/orders/include/xtempl.php(333): xt_process_template(Object(XTempl), '\r\n\t</script>\r\n\t...')
#2 /var/www/vhosts/hanroxfarm.co.uk/httpdocs/orders/include/phpfunctions.php(849): XTempl->display('error.htm')
#3 /var/www/vhosts/hanroxfarm.co.uk/httpdocs/orders/include/Orders_variables.php(3): runner_error_handler(2, 'Undefined array...', '/var/www/vhosts...', 3)
#4 /var/www/vhosts/hanroxfarm.co.uk/httpdocs/orders/Orders_add.php(8): include('/var/www/vhosts...')
#5 {main}
thrown in /var/www/vhosts/hanroxfarm.co.uk/httpdocs/orders/include/phpfunctions.php on line 1015