Notice: Trying to get property 'num_rows' of non-object in /var/www/vhosts/eshnastakeaway.co.uk/httpdocs/application/config/constants.php on line 127

Fatal error: Uncaught Error: Call to a member function free_result() on bool in /var/www/vhosts/eshnastakeaway.co.uk/httpdocs/application/config/constants.php:138 Stack trace: #0 /var/www/vhosts/eshnastakeaway.co.uk/httpdocs/system/core/CodeIgniter.php(72): require_once() #1 /var/www/vhosts/eshnastakeaway.co.uk/httpdocs/index.php(281): require_once('/var/www/vhosts...') #2 {main} thrown in /var/www/vhosts/eshnastakeaway.co.uk/httpdocs/application/config/constants.php on line 138