Fatal error: Uncaught Exception: No model for post type attachment in /home/sites/paxtonhouse.co.uk/public_html/wp-content/themes/paxtonhouse/app/Factories/PostFactory.php:51
Stack trace:
#0 /home/sites/paxtonhouse.co.uk/public_html/wp-content/themes/paxtonhouse/app/Factories/PostFactory.php(31): Strive\Factories\PostFactory->getFromPost(Object(WP_Post))
#1 /home/sites/paxtonhouse.co.uk/public_html/wp-content/themes/paxtonhouse/app/Helpers/PostTypeHelper.php(217): Strive\Factories\PostFactory->get(Object(WP_Post))
#2 /home/sites/paxtonhouse.co.uk/public_html/wp-content/themes/paxtonhouse/app/Controllers/PageController.php(31): Strive\Helpers\PostTypeHelper::resolve(Object(WP_Post))
#3 /home/sites/paxtonhouse.co.uk/public_html/wp-content/themes/paxtonhouse/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(143): Strive\Controllers\PageController->__construct(Object(Strive\Collections\MainQueryWrapper), Object(Strive\Factories\PhotoFactory), Object(Strive\Acf\ButtonFactory), Object(Strive\Acf\SectionFactory))
#4 in /home/sites/paxtonhouse.co.uk/public_html/wp-content/themes/paxtonhouse/app/Factories/PostFactory.php on line 51