• 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:

  • 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 - update php 8.1 to 8.2

DeCysos

Phoenix Foto Service
▶ Reproduction steps
  1. go to your server management (by me is it Plesk)
  2. change php version to 8.2
  3. go to your script url...
😢 Unexpected result

Chevere\Throwable\Exceptions\ErrorException thrown

📃 Error log message


Code:
Chevere\Throwable\Exceptions\ErrorException thrown in /var/www/vhosts/priv.pictures/httpdocs/app/src/Legacy/G/Gettext.php:63

# Message [Code #8192]
Creation of dynamic property Chevereto\Legacy\G\Gettext::$options is deprecated

# Incident ID:639f36eaaac89

# Time
2022-12-18T15:51:06+00:00 [1671378666]

# Stack trace
------------------------------------------------------------
#0 /var/www/vhosts/priv.pictures/httpdocs/app/src/Legacy/G/Gettext.php:63
{main}()
------------------------------------------------------------
#1 /var/www/vhosts/priv.pictures/httpdocs/app/src/Legacy/Classes/L10n.php:216
Chevereto\Legacy\G\Gettext->__construct()
------------------------------------------------------------
#2 /var/www/vhosts/priv.pictures/httpdocs/app/src/Legacy/Classes/L10n.php:145
Chevereto\Legacy\Classes\L10n::processTranslation()
------------------------------------------------------------
#3 /var/www/vhosts/priv.pictures/httpdocs/app/src/Legacy/functions.php:1043
Chevereto\Legacy\Classes\L10n->__construct()
------------------------------------------------------------
#4 /var/www/vhosts/priv.pictures/httpdocs/app/legacy/entrypoints/index.php:17
Chevereto\Legacy\loaderHandler()
------------------------------------------------------------
#5 /var/www/vhosts/priv.pictures/httpdocs/index.php:12
require_once(string(length=71))
------------------------------------------------------------

# Server
Linux s3.myvrs.de 5.4.0 #1 SMP Thu Apr 22 16:18:59 MSK 2021 x86_64

@Rodolfo , u can test it on s1.myvrs.de by rodolfo.t-ad.de
php 8.2 was added on S1

🛠️ Workarround
Switch back to php 8.1.x
 
I have the same problem as you, in my opinion it will have to wait for a next update, in the meantime PHP 8.1 remains secure and up to date to use it.
 
Although PHP 8.2 has been officially released, do please bear the fact that libraries which Chevereto depends on it may not be updated at the same pace. Think about it as a stream where the more dependencies the harder could be to get stable support for 8.2.

4.0.6 gets ready for PHP 8.2, it could take some months to get the stable label.
 
Back
Top