Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"WARN  calling IsSet with unsupported type "invalid" (<nil>) will always return false" with minimal hugo.toml #214

Open
2 tasks done
mem- opened this issue Mar 1, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mem-
Copy link

mem- commented Mar 1, 2025

Past Issues Searched

  • I have searched open and closed issues to make sure that the bug has not yet been reported

Issue is a Bug Report

  • This is a bug report and not a feature request, nor asking for support

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:
@alewis001
Copy link

+1

@colinwilson colinwilson added the bug Something isn't working label Mar 18, 2025
@colinwilson colinwilson self-assigned this Mar 18, 2025
@colinwilson colinwilson modified the milestone: v0.3.0 Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants