• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • 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

Chevereto gives server error after moving server

ghulst

Chevereto Member
Hi guys,

I have inherited a Chevereto installation. I needed to move it from the old server to my own VPS as the old server was about to expire.
I have transferred all files through FTP (ancient old server) and re-uploaded it to my cpanel VPS. Everything seemed in order, so I went ahead and set up the cron and changed the values in settings.php to connect to my own database. But when I go to domain.com/chevereto it gives me a 500 server error.
Any thoughts? Database name, user and password are correct and server is localhost. I have tried it on PHP 7.3, 7.4 and 8.

When I dig into the error.log this is what I get:
Stack trace:
#0 /home/DOMAIN/public_html/chevereto/lib/G/functions.php(86): count(NULL)
#1 /home/DOMAIN/public_html/chevereto/lib/G/functions.php(1499): G\check_value(NULL)
#2 /home/DOMAIN/public_html/chevereto/app/loader.php(95): G\absolute_to_url('/home/DOMAIN/p...')
#3 /home/DOMAIN/public_html/chevereto/index.php(20): include_once('/home/DOMAIN/p...')
#4 {main}
thrown in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 86
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "session.save_path" in /home/DOMAIN/public_html/chevereto/lib/G/G.php on line 86
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $subject follows optional parameter $delimiter in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 1613
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $filename follows optional parameter $method in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 2164
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "error_reporting" in /home/DOMAIN/public_html/chevereto/lib/G/G.php on line 119
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $values_array follows optional parameter $exception in /home/DOMAIN/public_html/chevereto/app/lib/functions.php on line 81
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $item follows optional parameter $tpl in /home/DOMAIN/public_html/chevereto/app/lib/functions.render.php on line 396
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $template follows optional parameter $tpl in /home/DOMAIN/public_html/chevereto/app/lib/functions.render.php on line 396
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $tools follows optional parameter $tpl in /home/DOMAIN/public_html/chevereto/app/lib/functions.render.php on line 396
[07-Nov-2023 10:18:03 UTC] PHP Warning: A non-numeric value encountered in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 1422
[07-Nov-2023 10:18:03 UTC] PHP Warning: A non-numeric value encountered in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 1422
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "crypt" in /home/DOMAIN/public_html/chevereto/app/loader.php on line 51
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined variable $join in /home/DOMAIN/public_html/chevereto/lib/G/classes/class.db.php on line 349
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "active_storage" in /home/DOMAIN/public_html/chevereto/app/lib/classes/class.settings.php on line 241
[07-Nov-2023 10:18:03 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/DOMAIN/public_html/chevereto/lib/G/functions.php:86


At a bit of a loss here...
 
Last edited:
An update. A check revealed this error:

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/xjrider/public_html/chevereto/lib/G/functions.php:86 Stack trace: #0 /home/xjrider/public_html/chevereto/lib/G/functions.php(86): count(NULL) #1 /home/xjrider/public_html/chevereto/lib/G/functions.php(1499): G\check_value(NULL) #2 /home/xjrider/public_html/chevereto/app/loader.php(95): G\absolute_to_url('/home/xjrider/p...') #3 /home/xjrider/public_html/chevereto/index.php(20): include_once('/home/xjrider/p...') #4 {main} thrown in /home/xjrider/public_html/chevereto/lib/G/functions.php on line 86
 
And a composer error:


Warning: require(/home/xjrider/public_html/chevereto/app/vendor/composer/../ralouphie/getallheaders/src/getallheaders.php): failed to open stream: No such file or directory in /home/xjrider/public_html/chevereto/app/vendor/composer/autoload_real.php on line 71

Fatal error
: require(): Failed opening required '/home/xjrider/public_html/chevereto/app/vendor/composer/../ralouphie/getallheaders/src/getallheaders.php' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/xjrider/public_html/chevereto/app/vendor/composer/autoload_real.php on line 71
 
Back
Top