The craft.systemSettings template variable was removed in 4.0, but is referenced as replaced by craft.app.systemSettings in the Craft 4 upgrade guide. However, craft\services\SystemSettings was removed in 4.0 and there is no craft.app.systemSettings variable.
Tangentially: I might be wrong but AFAIK there is no good description in the docs on how to actually get to the things that used to sit in craft.systemSettings, from the Twig layer (a common use case is pulling the system email, see https://craftcms.stackexchange.com/questions/10055/how-do-i-get-the-settings-system-email-address). Might be an opportunity to add something about that to the docs?
Description
The
craft.systemSettings
template variable was removed in 4.0, but is referenced as replaced bycraft.app.systemSettings
in the Craft 4 upgrade guide. However,craft\services\SystemSettings
was removed in 4.0 and there is nocraft.app.systemSettings
variable.Tangentially: I might be wrong but AFAIK there is no good description in the docs on how to actually get to the things that used to sit in
craft.systemSettings
, from the Twig layer (a common use case is pulling the system email, see https://craftcms.stackexchange.com/questions/10055/how-do-i-get-the-settings-system-email-address). Might be an opportunity to add something about that to the docs?Steps to reproduce
1. 2.
Additional info