TypeError thrown

Argument 1 passed to ProPhoto\Infrastructure\WordPress\Gallery\GalleryQuery::getGalleryImages() must be an instance of ProPhoto\Core\Model\Gallery\Gallery, null given, called in /home/jkey/domains/jaroslawkozlowski.com/public_html/wp-content/themes/prophoto6/vendor/netrivet/prophoto-classes/src/Infrastructure/View/Gallery/FullSizeImageGalleryRenderer.php on line 27