• 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

Error Chevere\Throwable\Exceptions\ErrorException thrown

user_3b486

Chevereto Member
I got this error today. The site worked good yesterday, but when i logged in today, i encounterd this problem. What can be the problem?

Code:
Chevere\Throwable\Exceptions\ErrorException thrown in /www/wwwroot/homes/app/src/Legacy/functions-render.php:198

# Message [Code #8192]
rawurlencode(): Passing null to parameter #1 ($string) of type string is deprecated

# Incident ID:628a7e06050e1

# Time
2022-05-22T18:16:38+00:00 [1653243398]

# Stack trace
------------------------------------------------------------
#0 /www/wwwroot/homes/app/src/Legacy/functions-render.php:198
{main}()
------------------------------------------------------------
#1 /www/wwwroot/homes/app/src/Legacy/functions-render.php:198
rawurlencode()
------------------------------------------------------------
#2 /www/wwwroot/homes/app/legacy/routes/index.php:222
Chevereto\Legacy\get_share_links()
------------------------------------------------------------
#3 /www/wwwroot/homes/app/src/Legacy/G/Handler.php:241
Chevereto\Legacy\G\Handler->{closure}()
------------------------------------------------------------
#4 /www/wwwroot/homes/app/src/Legacy/G/Handler.php:135
Chevereto\Legacy\G\Handler->processRequest()
------------------------------------------------------------
#5 /www/wwwroot/homes/app/legacy/load/web.php:389
Chevereto\Legacy\G\Handler->__construct()
------------------------------------------------------------
#6 /www/wwwroot/homes/app/legacy/entrypoints/index.php:24
require_once(string(length=42))
------------------------------------------------------------
#7 /www/wwwroot/homes/index.php:12
require_once(string(length=51))
------------------------------------------------------------

# Server
Linux ns3123347 5.4.0-110-generic #124-Ubuntu SMP Thu Apr 14 19:46:19 UTC 2022 x86_64
 
That's because of a modification of the share links array. You need to add:

PHP:
        if (is_null($value)) {
            continue;
        }

Before:

PHP:
$elements[$key] = rawurlencode($value);

At app/src/Legacy/functions-render.php

I've already patched this for the next revision.
 
Back
Top