View Issue Details

IDProjectCategoryView StatusLast Update
0000708XMB1Bugspublic2024-04-23 14:31
Reportermiqrogroove Assigned Tomiqrogroove  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.9.12 
Target Version1.9.12.07Fixed in Version1.9.12.07 
Summary0000708: User Locked Out: Theme with Non-Numeric fontsize Value in PHP 8.0+
DescriptionWhen non-valid inputs are supplied to the theme creation form, it can lead to a persistent fatal error.

PHP Fatal error: Uncaught TypeError: Unsupported operand types: string - int in include/functions.inc.php:2836
Stack trace:
#0 header.php(622): more_theme_vars()
Steps To ReproduceCreate a new theme by click through the Themes admin panel.

Name the new theme.

Leave all other default values, including blanks.

Go to the member control panel.

Select the new theme.

After saving, the session will be unusable, and the user will be unable to use any new session until the member theme is reset.
Additional Informationecho '' - 1; throws a warning starting with PHP 7.1 and a fatal error starting with PHP 8.0.
TagsNo tags attached.
MySQL Version
PHP Version8.0
Web Server
Browser
Flags
Original Reporter
SVN Revision3052

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-04-21 19:46 miqrogroove New Issue
2024-04-21 20:09 miqrogroove Status new => confirmed
2024-04-21 20:09 miqrogroove Product Version => 1.9.12
2024-04-21 20:09 miqrogroove Summary User Locked Out After Selecting a Theme with Non-Numeric fontsize Value => User Locked Out: Theme with Non-Numeric fontsize Value in PHP 8.0+
2024-04-21 20:09 miqrogroove Additional Information Updated
2024-04-21 20:09 miqrogroove PHP Version => 8.0
2024-04-23 11:50 miqrogroove Assigned To => miqrogroove
2024-04-23 11:50 miqrogroove Status confirmed => assigned
2024-04-23 13:10 miqrogroove Status assigned => resolved
2024-04-23 13:10 miqrogroove Resolution open => fixed
2024-04-23 13:10 miqrogroove Fixed in Version => 1.9.12.07
2024-04-23 13:10 miqrogroove SVN Revision => 3052
2024-04-23 14:31 miqrogroove Description Updated