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