RSS Feed/News php 8.4+ compatibility - css can fail unexpectedly

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
30,592
Points
823

Reputation:

I was recently updating a test site running on php 8.4.16, 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...
 
Status
Not open for further replies.
Top