Past Issues Searched
Issue is a Bug Report
Describe the bug
With a minimal hugo.toml (like when starting fresh 'hugo new site my-lotus-site') the following warning is printed when starting 'hugo server'
WARN calling IsSet with unsupported type "invalid" () will always return false
Expected behavior
The problem is soleved by add the following two empty section headlines in the config:
[params.social]
[params.flexsearch]
No actual settings has to be added. I guess it's a bug in the config parser.
Screenshots
No response
Environment
- OS: Debian 10.13
- Golang: go1.24.0 linux/amd64
- Hugo version: 0.140.2-aae02ca612a02e085c08366a9c9279f4abb39d94+extended linux/amd64 BuildDate=2024-12-30T15:01:53Z VendorInfo=gohugoio
- Lotus Docs: github.com/colinwilson/lotusdocs v0.2.0 // indirect
- Browser: Google Chrome
- Browser Version: