Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Hi @sarumbear,
    I am very sorry to reply this late. I seem to have missed you post.

    It appears that you have not stored the location coordinates in your WordPress database. If the “Find button” does not return a search result, there is probably something wrong with our API key.

    Please try the following:
    Go in your WordPress Admin to Events -> Locations -> And click on the one that is not working correctly. On that page, open your browser console window and then click the “Find Address” button.
    The server response will be shown in your browser console log.

    If you do not know how to open your browser console window, take a look here:
    https://appuals.com/open-browser-console/

    Please let me know what the server response is.

    Thread Starter sarumbear

    (@sarumbear)

    This is what I get on the following page.

    https://stragglersofasia.co.uk/locations/holkham-hall/

    jquery.min.js?ver=3.6.0:2

    GET https://api.opencagedata.com/geocode/v1/json?key=ed570b9adfee4fefa6ee1089223bbbd6&q=Holkham%20Hall%20%2C%20Wells-next-the-Sea%2C%20NR23%2012AB%2C%20Norfolk%20&no_annotations=1&add_request=1&pretty=1&language=en 401
    send @ jquery.min.js?ver=3.6.0:2
    ajax @ jquery.min.js?ver=3.6.0:2
    s.ajax.s.ajax @ jquery-migrate.min.js?ver=3.3.2:2 geoAddress @ admin-em-osm.min.js?ver=4.2.1:1 apiSearch @ admin-em-osm.min.js?ver=4.2.1:1 onclick @ post.php?post=3120&action=edit:1080
    • This reply was modified 2 years, 3 months ago by sarumbear.
    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    I have tried your query and get a 401 error back form the API. That means that your API key is invalid.
    You can check the API key by using the “Get your API key” button in the plugin options page.

    Thread Starter sarumbear

    (@sarumbear)

    It seems the API key that I used at the beginning was cancelled. I have no idea why. I have created a new key and all works. Thank you for your help.

    May I have a suggestion: How about placing a test the API key button so that we can test the API key. Furthermore maybe you can display an error if an API error occurred?

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    The error is currently logged to your browser console window, but I do agree that that is not sufficient enough.

    I will implement any API errors in the next update.

    Thread Starter sarumbear

    (@sarumbear)

    Thank you for listening.

    Your plugin’s UI is so slick that we expect to be hand hold at every stage, including errors. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘OpenStreetMaps stopped working’ is closed to new replies.