- Issue created by @jurgenhaas
 - Merge request !596Issue #3511415 by jurgenhaas: Edge case: $settings->get('enable_darkmode') can cause WSOD β (Merged) created by jurgenhaas
 - π¬π·Greece zorz
Hello Jurgen,
Indeed the patch resolves the issue.
Thanks for the great work. - π¨π¦Canada nikathone Ontario
Adding related issue from gin toolbar not sure if they should solve the same way.
 - π¬π§United Kingdom stephen-cox
I had this issue on a fresh D11 install after enabling Gin and the patch fixes it.
 - πΊπΈUnited States jwjoshuawalker San Diego
Not edge case in D11.
Fresh install, do nothing other than Enable & Set Default with Gin theme, then visit the home/front page = WSOD.This patch resolves it, however the Gin theme settings page is broken, but that is a separate issue.
 - Status changed to RTBC
5 months ago 10:27am 18 June 2025 - 
            
              jurgenhaas β
             committed f37e2dd9 on 4.0.x
Issue #3511415 by jurgenhaas: $settings->get('enable_darkmode') can... 
- 
            
              jurgenhaas β
             committed f37e2dd9 on 4.0.x
 - 
            
              jurgenhaas β
             committed e0e42aae on 5.0.x
Issue #3511415 by jurgenhaas: $settings->get('enable_darkmode') can... 
- 
            
              jurgenhaas β
             committed e0e42aae on 5.0.x
 Automatically closed - issue fixed for 2 weeks with no activity.