Warning: Attempt to read property "img" on null in /var/www/Supercontrol/BHR/Property.php on line 309

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/Supercontrol/BHR/Property.php:310 Stack trace: #0 /var/www/Supercontrol/BHR/Property.php(310): count(NULL) #1 /var/www/html/includes/property_images.php(2): SuperControl\BHR\Property->getImages() #2 /var/www/html/page.php(187): include_once('/var/www/html/i...') #3 /var/www/html/pages/property.php(6): Html\Page->includefile('includes/proper...') #4 /var/www/html/page.php(115): include_once('/var/www/html/p...') #5 /var/www/html/page.php(251): Html\Page->build() #6 {main} thrown in /var/www/Supercontrol/BHR/Property.php on line 310