• 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

'Use of "self" in callables is deprecated' after new install

Version
4.0.9
PHP version
8.2.10
Database driver
MySQL
Database version
8.0.35
Web browser
Latest chrome

Mysterius

Chevereto Member
Hello,

I've been using Chevereto for a long time. Today, I decided to upgrade my PHP version from 8.1 to 8.2.10.
I had multiple errors, so I went for a clean Chevereto 4.0.9 install using the Github release zip and the web installer.

The installation process went well, but when I try to access my login page I get this error :
Chevere\Throwable\Exceptions\ErrorException thrown in /home/pvende/www/pix/app/vendor/phpseclib/bcmath_compat/src/BCMath.php:492

# Message [Code #8192]
Use of "self" in callables is deprecated

# Incident ID:65909214b5672

# Time
2023-12-30T21:56:36+00:00 [1703973396]

I searched a bit and it seems to be a compatibility issue with PHP 8.2... but Chevereto is supposed to be compatible with 8.2.
Have anyone encountered this issue? I'm at a loss.

Thank you !
 
It seems that the bcmath polyfill included doesn't support PHP 8.2.

Try providing the bcmath extension to your php setup.
 
Hello,

I've been using Chevereto for a long time. Today, I decided to upgrade my PHP version from 8.1 to 8.2.10.
I had multiple errors, so I went for a clean Chevereto 4.0.9 install using the Github release zip and the web installer.

The installation process went well, but when I try to access my login page I get this error :


I searched a bit and it seems to be a compatibility issue with PHP 8.2... but Chevereto is supposed to be compatible with 8.2.
Have anyone encountered this issue? I'm at a loss.

Thank you !
Install bcmath to your PHP env.
 
Back
Top