• 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

maybe compatibility error (str_replace()) under php8.1

felixcode

Chevereto Member
Dear user, kindly note that Tech Support is free, but please note:

  • ⚠️ Check hotfixes first
  • ⏳ Ticket response time is within 7 working days if you need a faster response purchase Extra Support
  • 🇨🇱 Support is delivered in CLST working hours
  • 🚧 Tech Support only covers software issues
▶ Reproduction steps
  1. unzip the zip file under a folder and use nginx as reverse proxy.
  2. set .env file properly.
  3. visit site and setup.
  4. login with admin credential.
  5. error message displayed.
😢 Unexpected result

TypeError thrown in /xxx/chevereto/app/src/Components/Legacy/G/functions.php:299

📃 Error log message

TypeError thrown in /xxx/chevereto/app/src/Components/Legacy/G/functions.php:299

# Message
str_replace(): Argument #3 ($subject) must be of type array|string, int given

# Incident ID:61b70e942a492

# Time
2021-12-13T09:12:52+00:00 [1639386772]

# Stack trace
------------------------------------------------------------
#0 /xxx/chevereto/app/src/Components/Legacy/G/functions.php:299 str_replace()
------------------------------------------------------------
#1 /xxx/chevereto/app/src/Components/Legacy/Classes/User.php:506 Chevereto\Components\Legacy\G\abbreviate_number()
------------------------------------------------------------
#2 /xxx/chevereto/app/src/Components/Legacy/Classes/User.php:497 Chevereto\Components\Legacy\Classes\User::fill()
------------------------------------------------------------
#3 /xxx/chevereto/app/src/Components/Legacy/Classes/User.php:70 Chevereto\Components\Legacy\Classes\User::formatArray()
------------------------------------------------------------
#4 /xxx/chevereto/app/src/Components/Legacy/Classes/Login.php:157 Chevereto\Components\Legacy\Classes\User::getSingle()
------------------------------------------------------------
#5 /xxx/chevereto/app/legacy/routes/login.php:92 Chevereto\Components\Legacy\Classes\Login::login()
------------------------------------------------------------
#6 /xxx/chevereto/app/src/Components/Legacy/G/Handler.php:255 Chevereto\Components\Legacy\G\Handler->{closure}()
------------------------------------------------------------
#7 /xxx/chevereto/app/src/Components/Legacy/G/Handler.php:137 Chevereto\Components\Legacy\G\Handler->processRequest()
------------------------------------------------------------
#8 /xxx/chevereto/app/legacy/load/web.php:389 Chevereto\Components\Legacy\G\Handler->__construct()
------------------------------------------------------------
#9 /xxx/chevereto/app/legacy/load/loader.php:296 require_once()
------------------------------------------------------------
#10 /xxx/chevereto/app/legacy/entrypoints/index.php:15 require_once()
------------------------------------------------------------
#11 /xxx/chevereto/index.php:14 require_once()
------------------------------------------------------------

# Server
Linux xxx 5.14.0-4-amd64 #1 SMP Debian 5.14.16-1 (2021-11-03) x86_64
 
Back
Top