Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1007865

    Hi,

    We have a problem with enfold and the plugin “Chauffeur Booking System for WordPress”. In the admin panel for the plugin we can not see all its options becouse we get this error in the console:

    InvalidValueError: setMap: not an instance of Map

    Here you have the full issue:
    https://ibb.co/bN8LVU

    If we disable enfold and select other theme, the error disappears and the plugin works fine. We have tried disabling the maps load in the enfold performance option, but even so, the problem continues.

    Do you know how we can fix this issue?

    Thanks for your help.

    #1007868

    Hey,

    Thanks for contacting us!

    To make sure, have you referred to this post – https://kriesi.at/documentation/enfold/google-map/#how-to-register-a-google-maps-api-key and inserted API key in Enfold theme options?

    Regards,
    Yigit

    #1007871

    Hi,
    Sure, we reviewed all, and we have a api configured in this moment to can use the maps also in the pages created with enfold where we add a map with the enfold options.

    Here you have the option checked in the admin panel:
    https://ibb.co/kp1tH9

    Thanks .

    #1007879

    Hi,

    Please create us an admin account and I’ll check if I can find any reasons for this error.

    Best regards,
    Peter

    #1007908
    This reply has been marked as private.
    #1008195

    Hi,

    Thanks for that, though the htaccess details are not working. Could you check and verify please?

    Best regards,
    Rikard

    #1008279

    Hi,

    The details are ok, please try again.

    Thanks for your help.

    #1008607

    Hi temptel,

    Best regards,
    Victoria

    #1008819

    Hi Victoria,

    The problem is in the admin panel, you can see the error here:
    https://ibb.co/bN8LVU
    I pasted you the url where you can see that error in private. With this error not all the features over the maps work, by example a system to draw over the map. When we disable Enfold and active other theme, these features work fine.
    Regards.

    #1008838

    Hi,

    Please try to add this code to the child theme functions.php:

    
    add_filter('avf_load_google_map_api_prohibited', 'avia_block_theme_google_maps', 10, 1);
    function avia_block_theme_google_maps($block)
    {
    	global $post;
    	if(is_admin() && !empty($post->ID) && ($post->ID == 10007)) $block = true;
    	return $block;
    }
    

    It should block the google maps api loaded by enfold on the page you gave us.

    Best regards,
    Peter

    #1009328

    Hi Dude,

    Problem fixed with that code!

    Thanks!!

    #1009395

    Hi,

    Great, glad I could help you :)

    Best regards,
    Peter

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.