• Hi Eyal,
    First thank you so much for your work ; it is so impressive you manage all this by yourself.

    Let me tell you about my issue now.
    I customized the free version of Geo My WP when I worked on the website last year (the website was built last August 2018).
    Everything was OK – to keep the free version I used ultimate CSV to import all addresses and converted them to Geo My WP with the import option of the plugin.
    We turned on the auto update for all plugins.
    I was contacted back a few days ago because they were issues on the website, with the map. I have been working on it and replaced the API key (client) and I added a new server one. It works fine except I get this trigger activated :

    On line 904 gmw-location-function.php

    //gmw_trigger_error( 'Since GEO my WP 3.0 gmw_get_location_address function excepts an additional $fields argument. You need to modify the arguments pass to the function. gmw_get_location_address( $location, $fields, $gmw ).' );

    I thought I add missing fields first in the formatted_address field of the mysql wp_gmw_locationstable so I did this :

    update wp_gmw_locations set formatted_address = CONCAT( street , ', ' , postcode , ', ',city) WHERE CHAR_LENGTH(formatted_address) <5

    But it still triggers the warning and the warning is displayed on the screen in my results list, with each result element (from custom templates).
    I have decided I am going to block the auto update for Geo My WP at the moment because my investigations brought me nowhere (I realize it is maybe not such a complicated issue, I am just stuck). And probably my trick, I mean to comment the tirgger line won’t last after an update.

    Thank you so much for reading,
    And thank you again for your work.
    Best regards,
    Renan.

    • This topic was modified 5 years, 11 months ago by renansavidan.
    • This topic was modified 5 years, 11 months ago by renansavidan.

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

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

    (@renansavidan)

    Hi guys !
    Sorry I don’t want to insist for bad reasons.
    Someone saw my request ?
    Any idea ?
    Thank you again,
    best regards.

    Thread Starter renansavidan

    (@renansavidan)

    Hi,
    Any news about my request?
    If my question was stupid just tell me please if you find a minute ??

    Sorry I am still stuck with that.
    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘gmw_trigger_error with gmw_get_location_address( $location, $fields, $gmw )’ is closed to new replies.