View Issue Details

IDProjectCategoryView StatusLast Update
0000555XMB1Bugspublic2020-07-01 06:05
ReporterlottosAssigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
Product Version1.9.11.15 
Target VersionFixed in Version 
Summary0000555: PHP 7.4 with debug set to true: PHP Notice: Trying to access array offset on value of type null in header.php
DescriptionIt appears that when attempting to view a topic that doesn't exist [tid doesn't exist],

     PHP Notice: Trying to access array offset on value of type null in header.php on header .php lines 556 and 557:
   
     $fid = $locate['fid'];
     $forumtheme = $locate['theme'];


Is the fix:

    $fid = $locate['fid'] ?? '';
    $forumtheme = $locate['theme'] ?? '';
TagsNo tags attached.
MySQL Version
PHP Version7.4
Web Server
Browser
Flags
Original Reporter
SVN Revision

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-07-01 05:59 lottos New Issue
2020-07-01 06:05 lottos Description Updated View Revisions