Forums Forums Search & Filter Pro Error (500) with empty search strings or when clicking 'All categories'

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #21987

    Did some additional testing:

    3. Reverting back to ‘All Categories’ when providing a search string is working fine.
    4. When deleting the search string, the error pops up again. So that’s really the problem.

    Anonymous
    #21988
    This reply has been marked as private.
    Ross Moderator
    #21989

    Perfect thanks Dennis!

    I’m concerned that the 500 errors might be from the queries being “too hungry” on your server resources.

    Could you check out your error logs or ask your host what errors are being thrown with these 500 messages?

    Just to let you know S&F 2.0 (in beta) has a caching system in place which makes searches a lot faster, but there is always a limit to complex searching and server resources.

    I’ll try to take a look later on today, in the meantime those error logs would be most useful.

    Thanks

    Anonymous
    #21990

    Wow, you’re really quick! And spot on:

    The error log is full with these lines:

    [Fri Jul 24 12:07:30 2015] [error] [client XXX] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /home/laura/domains/XXX/public_html/wp-includes/wp-db.php on line 2223, referer: http://XXX/zoekopdracht/?_sft_product_cat=armbanden&_sfm__price=0+50

    How could I prevent this?

    Anonymous
    #21992

    I changed ‘Results per page:’ from 999 to 50. No idea how 999 went up there, but setting it to 50 seems to solve the problem!

    Thanks!

    Ross Moderator
    #22037

    Fantastic!

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