php 8.4+ compatibility - css can fail unexpectedly

Status
This content is read-only, or is not open for further replies.

Xon

Guest
offline
I was recently updating a test site running on php 8.4+, and some css pages started causing the following error:
Code:

Deprecated: Less_Functions::__construct(): Implicitly marking parameter $currentFileInfo as nullable is deprecated, the explicit nullable type must be used instead in .../src/vendor/oyejorge/less.php/lib/Less/Functions.php on line 12

It looks like the oyejorge/less.php library requires some patching:
Code:

Code:
class Less_Functions {

public $env;
public $currentFileInfo...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom