Fatal error: Uncaught TypeError: Argument 1 passed to ProPhoto\Infrastructure\WordPress\Grid\Item\Factory::createFromAttachment() must be of the type array, null given, called in /home/sashasou/public_html/wp-content/themes/prophoto7/src/php/prophoto/Infrastructure/WordPress/Grid/Item/GalleryQuery.php on line 58 and defined in /home/sashasou/public_html/wp-content/themes/prophoto7/src/php/prophoto/Infrastructure/WordPress/Grid/Item/Factory.php:67 Stack trace: #0 /home/sashasou/public_html/wp-content/themes/prophoto7/src/php/prophoto/Infrastructure/WordPress/Grid/Item/GalleryQuery.php(58): ProPhoto\Infrastructure\WordPress\Grid\Item\Factory->createFromAttachment(NULL) #1 [internal function]: ProPhoto\Infrastructure\WordPress\Grid\Item\GalleryQuery->ProPhoto\Infrastructure\WordPress\Grid\Item\{closure}(NULL) #2 /home/sashasou/public_html/wp-content/themes/prophoto7/src/php/prophoto/Infrastructure/WordPress/Grid/Item/GalleryQuery.php(59): array_map(Object(Closure), Array) #3 /home/sashasou/public_html/wp-content/themes/proph in /home/sashasou/public_html/wp-content/themes/prophoto7/src/php/prophoto/Infrastructure/WordPress/Grid/Item/Factory.php on line 67