I fixed it just add comment to this line
//if(!isset($current_term->ID)){$current_term->ID=”;}:
function geodir_post_type_archive_title($title)
{
global $wp_query,$wp,$wpdb;
$wpseo_edit = false;
$current_term = $wp_query->get_queried_object();
//if(!isset($current_term->ID)){$current_term->ID=”;}
if(geodir_is_geodir_page() && (is_tax() || $current_term->ID==get_option(‘geodir_location_page’)))
{
####### FIX FOR YOAST SEO START ########
$separator_options = array(
…..
Maybe it’s not the best decision but it’s works ))