RSS Feed/News $config.php can no longer safely touch \XF::app()->error() for all XF\App implementations

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
25,984
Points
823

Reputation:

config.php used to allow safely touching a few parts of XF application object., But XF2.3.2 changed something with the XF bootstrapping process, that impacts the \XF\Installer\App context.

When using the installer app (ie php cmd.php xf:upgrade) having \XF::app()->error(); in the config.php causes php install error. Which looks to be from recursive php file inclusion.

It either causes a core dump (php 8.2) or the following error for php 8.3:
Code:

PHP Fatal error...

Read more

Continue reading...
 
Status
Not open for further replies.
Top