• Resolved josefinsjo

    (@josefinsjo)


    Hello!

    When I try to add a location in the field “Location Address” autocomplete does not work.

    I have installed the plugin for another website and autocomplete works there. I use the setup for the API key.

    I did inactivate all other plugins and I tries using another theme, but it’s still not working. Also, WordPress is updated.

    On the page “Add Location” I get this warning in the console:

    jQuery.Deferred exception: $(...).wpColorPicker is not a function TypeError: $(...).wpColorPicker is not a function
        at HTMLDocument.<anonymous> (https://www.aterhamtningsterapi.se/wp-content/plugins/wp-google-map-plugin/assets/js/backend.js?ver=2.3.4:207:33)
        at e (https://www.aterhamtningsterapi.se/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox,underscore,shortcode,media-upload,wp-util&ver=5.8.3:2:30038)
        at t (https://www.aterhamtningsterapi.se/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,thickbox,underscore,shortcode,media-upload,wp-util&ver=5.8.3:2:30340) undefined
    S.Deferred.exceptionHook @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,thickbox,underscore,shortcode,media-upload,wp-util&ver=5.8.3:2

    Also, I get this error:

    Uncaught TypeError: $(...).wpColorPicker is not a function
        at HTMLDocument.<anonymous> (backend.js?ver=2.3.4:207)
        at e (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,thickbox,underscore,shortcode,media-upload,wp-util&ver=5.8.3:2)
        at t (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,thickbox,underscore,shortcode,media-upload,wp-util&ver=5.8.3:2)

    Any suggestions?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter josefinsjo

    (@josefinsjo)

    UPDATE: I changed my PHP version from 8.4 to 8.0 and then it’s working fine. It seems like the plugin is not working with PHP 8.4.

    Hi @josefinsjo,

    Thank you so much for getting in touch, we really appreciate your time.

    Thank you for letting us know, we shall kindly take a closer look into this report to reproduce and determine what this issue might be.

    If we are able to reproduce the issue and are able to apply a patch, this will kindly be available in an upcoming update.

    Do have a great day further.

    Kindest Regards,
    Steven De Beer

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Autocomplete not working’ is closed to new replies.