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

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