[mgp_shortcode_title]

[mgp_shortcode_title]

<img draggable="false" role="img" class="emoji" alt="🧨" src="https://s.w.org/images/core/emoji/13.1.0/svg/1f9e8.svg"> Undefined variable: slug
/home/bicilodi/public_html/wp-content/plugins/midageopress/backend/
    • 29
      /home/bicilodi/public_html/wp-content/plugins/midageopress/inc/Shortcode.php
      Illuminate\Foundation\Bootstrap\HandleExceptions
      :2970
    • 28
      :2970
    • 27
      /home/bicilodi/public_html/wp-includes/shortcodes.php
      :356
  1. 1 unknown frame
    • 25
      /home/bicilodi/public_html/wp-includes/shortcodes.php
      :228
    • 24
      Elementor\Widget_Base
      :407
    • 23
      Elementor\Widget_Accordion
      :567
    • 22
      Elementor\Controls_Stack
      :1892
    • 21
      Elementor\Widget_Base
      :565
    • 20
      Elementor\Widget_Base
      :707
    • 19
      Elementor\Element_Base
      :650
    • 18
      Elementor\Element_Base
      :911
    • 17
      Elementor\Element_Base
      :650
    • 16
      Elementor\Element_Base
      :911
    • 15
      Elementor\Element_Base
      :650
    • 14
      Elementor\Core\Base\Document
      :1485
    • 13
      Elementor\Core\Base\Document
      :958
    • 12
      Elementor\Frontend
      :1029
    • 11
      Elementor\Frontend
      :943
    • 10
      WP_Hook
      :303
    • 9
      :189
    • 8
      :253
    • 7
      Elementor\Modules\PageTemplates\Module
      :190
  2. 1 unknown frame
    • 5
      /home/bicilodi/public_html/wp-content/plugins/elementor/modules/page-templates/module.php
      Elementor\Modules\PageTemplates\Module
      :207
    • 4
      :19
    • 3
      :106
    • 2
      :19
    • 1
      :17
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
/home/bicilodi/public_html/wp-content/plugins/midageopress/inc/Shortcode.php:2970

2955

2956

2957

2958

2959

2960

2961

2962

2963

2964

2965

2966

2967

2968

2969

2970

2971

2972

2973

2974

2975

2976

2977

2978

2979

2980

2981

2982

2983

2984

2985

break;

case 'service':

$slug = get_query_var( 'slug_service' );

$entity = new ServiceController;

$item = $entity->show_by_slug($slug, $current_lang);

if($item->longitude && $item->latitude) $position='ok';

break;

case 'tour':

$slug = get_query_var( 'slug_tour' );

$entity = new TourController;

$item = $entity->show_by_slug($slug, $current_lang);

if($item->geometryText) $position='ok';

break;

}

 

$html .= '<input id="slug" type="hidden" name="slug" value="'.$slug.'"/>';

$html .= '<input id="position" type="hidden" name="position" value="'.$position.'"/>';

 

 

$html .= '</form>';

$html .= '<div id="nearest_track"'; if($resource=='track') $html.=' style="order:4;"'; $html.='></div>';

$html .= '<div id="nearest_poi"'; if($resource=='track') $html.=' style="order:3;"'; $html.='></div>';

$html .= '<div id="nearest_accomodation"'; if($resource=='track') $html.=' style="order:1;"'; $html.='></div>';

$html .= '<div id="nearest_service"'; if($resource=='track') $html.=' style="order:2;"'; $html.='></div>';

$html .= '<div id="nearest_post" style="order:5;"></div>';

$html .= '<div id="nearest_page" style="order:6;"></div>';

$html .= '</div>';

 

return $html;

 

}