RSS FEED Admins always get stack trace on on fatal exceptions

Status
Not open for further replies.

XF2 Tech Robot

New member
Reputation: 100%
Downloaded
0 bytes
Uploaded
512 MB
Ratio
-
Seedbonus
0
Upload Count
0 (0)
Joined
Feb 15, 2024
Messages
1,925
Reaction score
0
Points
1
PHP:

Code:
public function displayFatalExceptionMessage($e)
{
    $upgradePending = $this->hasPendingUpgrade();
    $isInstalled = \XF\Util\File::installLockExists();
    $ignorePendingUpgrade = (!$isInstalled || $this->ignorePendingUpgrade || $this->forceShowTrace);

    if (\XF::$debugMode || !$isInstalled || $this->forceShowTrace)
    {
        $showTrace = true;
    }
    else
    {
        $showTrace = false;

        try
        {
            $visitor = \XF::visitor();
            $showTrace...

Read more

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