View Issue Details

IDProjectCategoryView StatusLast Update
0000555XMB1Bugspublic2020-10-20 18:17
Reporterlottos Assigned Tomiqrogroove  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.9.8 SP2 
Target Version1.9.12Fixed in Version1.9.12 
Summary0000555: 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 Revision2783

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
2020-08-22 14:38 miqrogroove Reproducibility N/A => always
2020-08-22 14:38 miqrogroove Status new => confirmed
2020-08-22 14:38 miqrogroove Product Version 1.9.11.15 => 1.9.8 SP2
2020-08-22 14:38 miqrogroove Target Version => 1.9.12
2020-08-22 14:38 miqrogroove Summary PHP 7.4 with debug set to true: PHP Notice: Trying to access array offset on value of type null in header.php => PHP Notice: Trying to access array offset on value of type null in header.php
2020-08-24 08:37 miqrogroove Assigned To => miqrogroove
2020-08-24 08:37 miqrogroove Status confirmed => resolved
2020-08-24 08:37 miqrogroove Resolution open => fixed
2020-08-24 08:37 miqrogroove Fixed in Version => 1.9.12
2020-08-24 08:37 miqrogroove SVN Revision => 2783
2020-10-20 18:17 miqrogroove Status resolved => closed