Fatal error
: Uncaught TypeError: Argument 1 passed to Stupeni\MenuFactory::createMenuItemByPost() must be an instance of WP_Post, null given, called in /home/sites/webappnew/public_html/wp-content/themes/stupeni/src/Photogallery/PhotogalleryInitializer.php on line 43 and defined in /home/sites/webappnew/public_html/wp-content/themes/stupeni/src/MenuFactory.php:53 Stack trace: #0 /home/sites/webappnew/public_html/wp-content/themes/stupeni/src/Photogallery/PhotogalleryInitializer.php(43): Stupeni\MenuFactory->createMenuItemByPost() #1 /home/sites/webappnew/public_html/wp-includes/class-wp-hook.php(310): Stupeni\Photogallery\PhotogalleryInitializer->initMenu() #2 /home/sites/webappnew/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #3 /home/sites/webappnew/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /home/sites/webappnew/public_html/wp-content/themes/stupeni/src/MenuFactory.php(26): do_action() #5 /home/sites/webappnew/public_html/wp-content/themes/stupeni/src/Service/MenuService in
/home/sites/webappnew/public_html/wp-content/themes/stupeni/src/MenuFactory.php
on line
53