Fatal error: Uncaught TypeError: sqlsrv_has_rows(): Argument #1 ($stmt) must be of type resource, bool given in C:\inetpub\wwwroot\www.financialreporter.co.uk\htdocs\functions\site_section.php:400 Stack trace: #0 C:\inetpub\wwwroot\www.financialreporter.co.uk\htdocs\functions\site_section.php(400): sqlsrv_has_rows() #1 C:\inetpub\wwwroot\www.financialreporter.co.uk\htdocs\default.php(33): include('...') #2 {main} thrown in C:\inetpub\wwwroot\www.financialreporter.co.uk\htdocs\functions\site_section.php on line 400