Support » Plugin: GEO my Wordpress » errors in gmw-pt-search-functions.php

  • Resolved andreskruus

    (@andreskruus)


    Hi, great plugin, especially driving directions feature.

    But after today’s update search location feature doesn’t function anymore. Got two errors:

    1) Pressing “locate” button doesnt have any effect:

    Invalid argument supplied for foreach() in ….
    /wp-content/plugins/geo-my-wp/plugins/posts/includes/gmw-pt-search-functions.php on line 72

    2) Even if i enter current location manually, search results pages display error:
    Invalid argument supplied for foreach() in ….
    /wp-content/plugins/geo-my-wp/plugins/posts/includes/gmw-pt-search-functions.php on line 305

    https://wordpress.org/plugins/geo-my-wp/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi Eyal, I have also issue 1 “Pressing “locate” button doesnt have any effect”.

    Cheers, Jack

    Plugin Author Eyal Fitoussi

    (@ninjew)

    Please re-save your form in the form builder page and try again.

    Thread Starter andreskruus

    (@andreskruus)

    I created new search form. No error messages anymore, but pressing “locate” button doesn’t still work.

    Plugin Author Eyal Fitoussi

    (@ninjew)

    can you post a link to the live page?

    Thread Starter andreskruus

    (@andreskruus)

    Here is the link.

    Additional problem is, that search result doesn’t show map anymore. Just list of the posts. No matter of the option set.

    BTW, after testing several options, for some reason all other Serach Form Templates (other than default) doesn’t work at all. Even if I enter location manually.
    http://www.tourism360.net/mtb/?page_id=927

    Plugin Author Eyal Fitoussi

    (@ninjew)

    The locator button, the map and the search form are all being triggered using Javascript. I see in the console that there is a Javascript error generated by the gd-star-rating. I am almost sure that that is the cause for your issues. Try deactivating the rating plugin and see if GEO my WP works again.

    Thread Starter andreskruus

    (@andreskruus)

    Thanks alot! Deactivating outdated plugin solved all earlier mentioned problems.

    One more 🙂 thing – if I limit search results by 10 per page items, for some odd reason “next” and “last” pages doesnt show up. Look at the result.

    Plugin Author Eyal Fitoussi

    (@ninjew)

    I went to the page and I do see the next and last links. Did you fix it?

    I am also having a similar issue with the new update, but only when using Google Chrome. The locator button will not work and the map will not show. Please advise!

    My website is http://www.atlantabarslive.com.

    Thanks!

    Adam

    Plugin Author Eyal Fitoussi

    (@ninjew)

    Hi Adam,
    Looking at your site in Safari and Chrome the locator button works and I can see the map. The only bug with the locator button right now is that it disappear after the location found. I know of this issue and It will be fix this week.
    In the form builder you can check the checkbox for the “Locator auto-submit” if you want the form to be automatically submitted after the current location found.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘errors in gmw-pt-search-functions.php’ is closed to new replies.