Fatal error: Uncaught TypeError: mysqli_close(): Argument #1 ($mysql) must be of type mysqli, null given in /var/www/vhosts/sunshinesolar.co.uk/httpdocs/K9-private/core/CORE_DB/ext/mysqli.php:901
Stack trace:
#0 /var/www/vhosts/sunshinesolar.co.uk/httpdocs/K9-private/core/CORE_DB/ext/mysqli.php(901): mysqli_close()
#1 /var/www/vhosts/sunshinesolar.co.uk/httpdocs/K9-private/core/CORE_DB/CORE_DB.php(1518): CORE_DB_mysqli->xdisconnect()
#2 /var/www/vhosts/sunshinesolar.co.uk/httpdocs/K9-private/core/CORE_DB/CORE_DB.php(1578): CORE_DB->do_ext_method()
#3 /var/www/vhosts/sunshinesolar.co.uk/httpdocs/K9-private/core/CORE/tasks_shutdown/9950_db.php(89): CORE_DB->disconnect()
#4 /var/www/vhosts/sunshinesolar.co.uk/httpdocs/K9-private/core/CORE/CORE.php(666): CORE_shutdown_db->exec()
#5 /var/www/vhosts/sunshinesolar.co.uk/httpdocs/K9-private/core/CORE/CORE.php(456): CORE->run_tasks()
#6 /var/www/vhosts/sunshinesolar.co.uk/httpdocs/K9-private/core/CORE_Error/CORE_Error.php(276): CORE->shutdown()
#7 /var/www/vhosts/sunshinesolar.co.uk/httpdocs/K9-private/core/CORE_Error/CORE_Error.php(160): CORE_Error->error_handler()
#8 [internal function]: CORE_Error->exception_handler()
#9 {main}
thrown in /var/www/vhosts/sunshinesolar.co.uk/httpdocs/K9-private/core/CORE_DB/ext/mysqli.php on line 901