Fatal error: Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, bool given in /var/www/vhosts/summerfetes.co.uk/httpdocs/directory/includes/dir.database.php:38
Stack trace:
#0 /var/www/vhosts/summerfetes.co.uk/httpdocs/directory/includes/dir.database.php(38): mysqli_fetch_array()
#1 /var/www/vhosts/summerfetes.co.uk/httpdocs/advertising/includes/plugins/rnav_adverts.php(22): dir_database_querySelect()
#2 /var/www/vhosts/summerfetes.co.uk/httpdocs/advertising/index.php(216): include('...')
#3 {main}
thrown in /var/www/vhosts/summerfetes.co.uk/httpdocs/directory/includes/dir.database.php on line 38