• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Advanced search is broken

lovedigit

👽 Chevereto Freak
▶ Reproduction steps
  1. Click on global search > Click on down arrow to access advanced search from
  2. Put any search keyword
  3. Press Submit
😢 Unexpected result

The website responds with 500 error. When debug level is set to 3, the following trace is shown. I could replicate it on demo.chevereto.com as well.

346_NfKlXavTE0.png

📃 Error log message

Fatal error [0]:
strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Triggered in /app/lib/classes/class.search.php at line 47

Stack trace:
#0 unknown file(unknown line): G\errorsAsExceptions()
#1 /app/lib/classes/class.search.php(47): strpos()
#2 /app/routes/route.search.php(53): CHV\Search->build()
#3 /lib/G/classes/class.handler.php(235): G\Handler->{closure}()
#4 /lib/G/classes/class.handler.php(135): G\Handler->processRequest()
#5 /app/web.php(478): G\Handler->__construct()
#6 /app/loader.php(299): require_once('/app/web.php')
#7 /index.php(20): include_once('/app/loader.php')
 
Last edited:
Thanks for reporting, this has been patched already on the demo and it will be pushed to the next release.
 
Back
Top