Forum: Bug Reports

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support and general questions related to GEO my WP plugin and its core add-ons please use the support forum.

[Resolved]Search Results Page Problem (‘no members found’)

Forums Bug Reports Search Results Page Problem (‘no members found’)

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #28956
    Max Santos
    Member

    I have a small problem with my search results page on geo my wp…

    When I search, I get my results perfectly. For example, it says “Viewing 1 – 4 of 4 members within 50 mi from woking”, and then it shows the map, and all 4 members below. So that’s all good.

    But then in addition, below these results, it shows another box with…

    “Viewing 1 – 4 of 4 members within 50 mi from woking
    No members found ”

    I have attached a screenshot showing this.

    I’m not quite sure why it is show this below the results? Otherwise I think everything is working fine! It would just be good to not have this at the bottom.

    I currently have a developer working on this site, who has made a completely new theme. When I was using Twenty Thirteen theme this problem was not happening.

    Let me know if that all makes sense!

    #28968
    Max Santos
    Member

    And I am using the latest versions of buddpress, wordpress, and geo-my-wp.

    #28967

    Hello Max,
    I will need to see the code used this page/file. Can you send over a zip file of the theme ? or at least the template file used to display the members page?

    If so please use the “Attached Information” button on the top left to send it over.

    Thank you

    #28966
    Max Santos
    Member

    Hi Eyal,

    I have just attached the file as requested. Let me know if there are any problems!

    Max

    #28965
    Max Santos
    Member

    Hi Eyal,

    Did my theme get uploaded ok for you to look at? Just checking as I wasn’t 100% sure if it worked!

    Thanks

    Max

    #28964

    Hey Max,
    Have we got this issue resolved?

    #28963
    Max Santos
    Member

    Hi Eyal,

    No, this was what I responded to your email a while ago but I didn’t receive a reply…

    “Hi Eyal,
    Thanks for getting back to me.
    If I change to another results form (eg Default) then the error is still there. I have also tried switching themes (to twenty thirteen and twenty fourteen) and the error is still there. Maybe it is performing the search twice for some reason?
    Thanks
    Max”

    #28962
    This reply has been marked as private.
    #28961
    Max Santos
    Member

    Hi Eyal,

    Since the latest update of GMWP, the issue has changed very slightly. Now it just displays the list of results twice (rather than saying ‘no members found’ on the second one).

    I will email you admin details etc now!

    Thanks,

    Max

    #28960
    Max Santos
    Member

    Email has just been sent. Let me know if you don’t receive it! Thanks

    #28959

    Hello Max,
    Your setup of the shortcodes was the cause of your issue. You placed both [gmw form=”1] and [gmw form=”results”] in the same page. Usually it shouldn’t cause a problem. However, because the search form in the widget is as well form with ID one so once you submit it both [gmw form=”1] and [gmw form=”results”] are being submitted and show the results twice.

    I simply changed [gmw form=”1] to [gmw searh_form=”1]. Now it will only display the search form ( instead if search form and results ) and the results will be displayed via [gmw form=”results”].

    #28958
    Max Santos
    Member

    Thanks Eyal that’s perfect. I have now changed it on the live site and it is working correctly.

    Cheers

    Max

    #28957

    Perfect! I am glad I could help.

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.