Property Grid 2 Columns

$data = new WP_Query($args); $total_post = $data->found_posts; $min_suffix = ere_get_option('enable_min_css', 0) == 1 ? '.min' : ''; wp_print_styles(ERE_PLUGIN_PREFIX . 'property'); $min_suffix_js = ere_get_option('enable_min_js', 0) == 1 ? '.min' : ''; wp_enqueue_script(ERE_PLUGIN_PREFIX . 'owl_carousel', ERE_PLUGIN_URL . 'public/assets/js/ere-carousel' . $min_suffix_js . '.js', array('jquery'), ERE_PLUGIN_VER, true); ?>

Notice: Undefined variable: data in /home/gowitha1/public_html/wp-content/plugins/essential-real-estate/public/templates/shortcodes/property/property.php on line 741

Fatal error: Call to a member function have_posts() on null in /home/gowitha1/public_html/wp-content/plugins/essential-real-estate/public/templates/shortcodes/property/property.php on line 741