• Remember to address to the Bug Tracking guidelines and to follow the instructions in the post ticket template.
  • 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

Cron doesn't work with php8.4

Version
4.2.5
PHP version
8.4.5
Database driver
MariaDB
Database version
10.6.12-MariaDB-0ubuntu0.22.04.1
Web browser
Firefox

lovedigit

👽 Chevereto Freak
Please open one ticket per issue. If you are experiencing multiple issues don't hesitate to create multiple tickets for each issue.

Reproduction steps
  1. Use php8.4 on server
  2. Set cron to use php 8.4 or run it manually in cli
  3. Cron will not work.
Unexpected result

Cron is not triggered. When manually triggered, it returns empty result.

Error log message

Code:
[67ff562f155fa] ErrorException in /var/www/html/app/vendor/php-ds/php-ds/src/Map.php:290


# Message [Code #8192]

Ds\Map::filter(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead


# Time

2025-04-16T07:03:11+00:00 [1744786991]


# Incident 67ff562f155fa


# Backtrace

------------------------------------------------------------

0 /var/www/html/app/vendor/php-ds/php-ds/src/Map.php:290

{main}()

------------------------------------------------------------

1 /var/www/html/app/vendor/composer/ClassLoader.php:576

include()

------------------------------------------------------------

2 /var/www/html/app/vendor/composer/ClassLoader.php:427

{closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}()

------------------------------------------------------------

3 /var/www/html/app/src/Vars/EnvVar.php:54

Composer\Autoload\ClassLoader->loadClass()
 
Chevereto is compatible (supported) with the software versions listed in the documentation: https://v4-docs.chevereto.com/application/stack/php.html

Chevereto always support the oldest current PHP release: https://www.php.net/supported-versions (8.1 as now). If you want to go edgy try with 8.2 which works perfect fine. Due to long term support goals we can't be chasing updates that close neither narrow the PHP support window.

PHP 8.4 support will happen in about two years, I foresee a very slow adoption due to all the stuff it breaks in several dependencies. Don't worry that much about it, 8.1+8.2 was the performance update on 8.4 I don't notice any speeding.

Several of our dependencies are maturing very well, and Chevere is taking ownership of several layers. It goes at the right pace, will get faster with time.
 
Back
Top