Fatal error: Uncaught Error: Call to a member function have_posts() on null in /home/viewstoc/public_html/wp-content/plugins/functionality-plugin/lib/view-related-places.php:29 Stack trace: #0 /home/viewstoc/public_html/wp-includes/shortcodes.php(325): view_related_places('', '', 'related-places') #1 [internal function]: do_shortcode_tag(Array) #2 /home/viewstoc/public_html/wp-includes/shortcodes.php(199): preg_replace_callback('/\\[(\\[?)(relate...', 'do_shortcode_ta...', '<p>Related Plac...') #3 /home/viewstoc/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1792): do_shortcode('<p>Related Plac...') #4 /home/viewstoc/public_html/wp-includes/shortcodes.php(325): ET_Builder_Element->_render(Array, '<p>Related Plac...', 'et_pb_text') #5 [internal function]: do_shortcode_tag(Array) #6 /home/viewstoc/public_html/wp-includes/shortcodes.php(199): preg_replace_callback('/\\[(\\[?)(relate...', 'do_shortcode_ta...', '[et_pb_text adm...') #7 /home/viewstoc/public_html/wp-content/themes/Divi/includes in /home/viewstoc/public_html/wp-content/plugins/functionality-plugin/lib/view-related-places.php on line 29