When updating the plugin The Google Map stopped working.

This topic contains 17 replies, has 5 voices, and was last updated by  Giovan Antoni 6 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #441257

    Giovan Antoni
    Expired Member
    Post count: 132

    Hello, first thank you for renewing my membership.

    It turns out that I had to manually update all the licenses of the geodirectory plugins since I have a new geodirectory membership and they told me that the old api key would no longer work. This process I already did in my first website that is the following:

    https://redsalud.com.sv/directorio/

    But now the Google map on that website is not showing well.

    I have another website is the following: https://dondecomer.sv/, in the latter I still do not perform the same process that I do in the first one to update manually with each one of the new license keys of the complements and each one from them. And in the latter if the map is well displayed.

    How can I correct this problem?

    A message appears on the map that says:

    “This page can not load Google Maps correctly.”
    Do you own this website?

    #441258

    Guust
    Moderator
    Post count: 29970

    You are getting a few errors, I suggest to check your keys at Google or create new ones:

    You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
    InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama
    Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

    Thanks

    #441288

    Giovan Antoni
    Expired Member
    Post count: 132

    I already made all the changes as you suggested. But still the problem comes out. So a question comes up: Will Google want me to add billing information to my Google account in order to use the maps on my website?
    How could I find an answer to this question?

    #441289

    Kor
    Moderator
    Post count: 16516

    Hi Giovan,

    Thanks for your reply. Yes, with the latest changes from Google, you’d need to add your billing information before you could use the Google map api

    Thanks!

    #441299

    Giovan Antoni
    Expired Member
    Post count: 132

    I consider that all the configuration of this app I have created well. But I still do not understand why rezon does not work. See example on my website: https://redsalud.com.sv/directorio/

    I already added the billing information to google and it still does not work.
    For me it is strange that on my other website: https://dondecomer.sv/ keeps on working the google map well. I feel that the problem was generated when I updated the add-on: Location Manager.
    Or could it be a problem with the server?

    Can I give you the credentials data so that you can check if there is something wrong with the plugins or on the server?

    #441304

    Guust
    Moderator
    Post count: 29970

    Yes, please post credentials for both sites.
    The difference seems related to another plugin that adds Google Maps, and which tries to create StreetView.

    #441315

    Giovan Antoni
    Expired Member
    Post count: 132
    This reply has been marked as private.
    #441317

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #441319

    Giovan Antoni
    Expired Member
    Post count: 132

    Thanks Kor, for that idea of ​​deactivating the other plugins. And actually I found a plugins called: UberMenu 3 – The Ultimate WordPress Mega Menu. This add-on I use to generate mega menus on my website, I found on its official site that adds widgets or something like this: https://wpmegamenu.com/custom-content-widgets-shortcodes/

    When you deactivate this add-on you could see the map well.

    But I like this add-on and I want to keep it working look in the settings of all the plugins and I also found that I had installed the plugin: API KEY for Google Maps. To which I had not added the api key of Google Map that I use with Geodirectory and what I did was add this Key api.

    With that the map returned to load well.

    But the Geodirectory post started giving an error 500

    The error reads: “Failed to load resource: the server responded to a status of 500 ()”

    Ask the friends of cloudways what could be something from the server and they answered this:

    Thanks to lot for holding, following is the PHP Fatal error in the logs:

    PHP Fatal error: Uncaught Error: Call to undefined function get_actual_location_name () in /home/172466.cloudwaysapps…ons/location_functions.php:627

    Due to the plugin: geodirectory

    This is an example url of these post:
    https://redsalud.com.sv/medicos/el-salvador/san-salvador/san-salvador/endocrinologos/centro-integral-de-endocrinologia-y-nutricion/

    #441321

    Giovan Antoni
    Expired Member
    Post count: 132

    After activating and deactivating all the plugins and testing each one of the Geodirectory plugins, I found that the add-on that causes this error is: GeoDirectory Location Manager

    Currently I have disabled it but Geodirectory will not work well without this add-on. Could you help me solve this?

    #441364

    Giovan Antoni
    Expired Member
    Post count: 132

    Hi. I have the problem with the GeoDirectory Location Manager plugin, when I am active, the 500 error occurs, the post is not seen, the page is blank, in the geodirectory post.
    I need to solve this problem.
    Currently I have disabled the pugin GeoDirectory Location Manager, for the website to work well, for that reason I share this video so you can see how it reproduces the problem. I do not know if I have to completely remove the plugin via ftp and reinstall it again.?

    Video:

    https://drive.google.com/file/d/1By8k4ArIwLOItSkZNn65k-ULXndiduw_/view?usp=sharing

    #441365

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    you have installed the V2 version of Location Manager.

    Please delete that and install the V1 version, as shown in the screenshot

    #441367

    Guust
    Moderator
    Post count: 29970

    Please see https://wpgeodirectory.com/docs/known-issues/#ubermenu
    I disabled that option.

    I also de-activated “API KEY for Google Maps”, there is no need for that.

    You had installed the beta Location Manager for V2. I replaced it with the correct V1 version and re-activated.

    Please check.

    #441379

    Giovan Antoni
    Expired Member
    Post count: 132

    Thank you for your assitence. The smile returned to my face. Excellent support Thank you very much.

    #441444

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

Viewing 15 posts - 1 through 15 (of 18 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount