October cms with php 8.4

Hy,

I installed october cms with php 8.4.1, but druring the installation, I had several errors like :

Blockquote

eprecated: array_first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in

Deprecated: array_last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in

Deprecated: optional(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in

Blockquote

Does the latest version of octobercms support php 8.4?

Thanks

It will work if you turn off deprecation notices. They won’t go away though since Laravel 9/10 brings them. We are working on October v4 to add PHP 8.4 support.

Alternatively, you could downgrade PHP.