Error Message When No Results Found

This topic contains 2 replies, has 2 voices, and was last updated by  Greg Barr 6 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #460562

    Greg Barr
    Full Member
    Post count: 182

    My site is at http://corncendev.wpengine.com
    If you search for something that returns no results, you get the expected/acceptable note about there not being any listings matching that selection, buit it’s accompanied by an ugly error message:
    “Notice: Undefined offset: 0 in /nas/content/live/corncendev/wp-includes/class-wp-query.php on line 3149”

    Looks like this:

    #460638

    Alex Rollin
    Moderator
    Post count: 27815

    Hi Gregg,

    you can turn off error reporting, we fix these on major versions.

    https://wpgeodirectory.com/docs/faqs/help-i-get-a-php-warning-on-my-pages/

    #460691

    Greg Barr
    Full Member
    Post count: 182

    Excellent, thanks.
    Oh hey, I guess you already set up Snippets and did that for me, eh? Thanks!

    (I owed you an easy one as we deal with the date range dealy, lol.)

Viewing 3 posts - 1 through 3 (of 3 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