Join our new community forum for support & discussion

Join Now

Home Support Extensions Search Alerts Wrong url to monitored searches

Wrong url to monitored searches

  • Author
  • Hemligg

    We have purchased the search alerts extension and we have integrated it into our solution. But it doesn’t quite work as expected since we get wrong url in the alert emails and the url you get for the alerted searches on the page where you list the search alerts you have set.

    We get this url:
    instead of this
    The latter url will display the listings filtered by the filters set in the search alert. The first url will display all listings although the filter will be preset.

    “blogg” is the “Posts page” as set in the general wordpress settings
    “listing” is something from Hivepress?

    Here is a screenshot of where you find the issue.

    ihor developer

    Thanks for the details. This is strange, both URLs have the same query parameters (used for searching listings), but the base URL is incorrect, please make sure that the website URL is set correctly in Settings/General section. You can also check the permalink structure in Settings/Permalinks, maybe this “/blogg” prefix is set there?


    Back again. This is still an issue. “/blogg” was included in the permalink and we had a redirection rule that redirected to that url. So that explained that. But still there is an issue here. Because the link from the list of saved alerts and the link in the email are different from the link when you make the search.

    This is the url in the search alert list:

    And the url we you were on when you saved the search was this:

    The first url doesn’t work at all. You get a fatal error:
    Fatal error: Uncaught Error: Call to a member function get_vendor() on null
    in /home/ on line 635

    Call stack:


    And if we just add “/listing” in the not working url we get the listings page alright with the filter preset but saying “Nothing found”.


    Just adding “/listing” to the url does work. So ignore my claim that it results in “No result”. That was when I added “/listings” instead of “/listing”.

    But still. The url in the mail and the list of saved search alerts does not include “/listing” which result in a fatal error when we try to access that url. But if “/listing” was added to the url then it would work.

    ihor developer

    Thanks for the details. The “/listing” part is not required, it’s added only if you browse the listings archive directly, but WordPres requires just 2 parameters to display the listing search results (post_type=hp_listing and s=some-search-query if available). For example, please click Search on the demo site to check how it looks (you can also choose some search filters)

    The fatal error seems to be related to some non-existent or broken listing (e.g. listing without a vendor ID). Please try saving a search for another query that targets other listings to check this, you can also send temporary WP access via email to and I’ll check this for you.

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

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.