HUGO

Hugo 54 "panic runtime error: index out of range"

Getting the following error. This is a private repo, but I can invite anyone who might be able to help :smile:

Version:

Hugo Static Site Generator v0.54.0/extended darwin/amd64 BuildDate: unknown

Open your browser to http://localhost:1313.
Starting Hugo built-in server with LiveReload...
Building sites … panic: runtime error: index out of range

goroutine 112 [running]:
github.com/gohugoio/hugo/hugolib.(*Page).prepareData(0xc000d19400, 0xc0002ff500, 0x0, 0x0)
	/private/tmp/hugo-20190201-56215-riuf2q/hugo-0.54.0/src/github.com/gohugoio/hugo/hugolib/page.go:1778 +0xf39
github.com/gohugoio/hugo/hugolib.(*Site).preparePages(0xc0002ff500, 0x0, 0x0)
	/private/tmp/hugo-20190201-56215-riuf2q/hugo-0.54.0/src/github.com/gohugoio/hugo/hugolib/site.go:1600 +0x132
github.com/gohugoio/hugo/hugolib.(*Site).render(0xc0002ff500, 0xc000bab940, 0x0, 0x0, 0x2)
	/private/tmp/hugo-20190201-56215-riuf2q/hugo-0.54.0/src/github.com/gohugoio/hugo/hugolib/site.go:1076 +0x211
github.com/gohugoio/hugo/hugolib.(*HugoSites).render(0xc00033c400, 0xc000bab940, 0xc00033c400, 0xc000ba9b60)
	/private/tmp/hugo-20190201-56215-riuf2q/hugo-0.54.0/src/github.com/gohugoio/hugo/hugolib/hugo_sites_build.go:302 +0x350
github.com/gohugoio/hugo/hugolib.(*HugoSites).Build(0xc00033c400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/private/tmp/hugo-20190201-56215-riuf2q/hugo-0.54.0/src/github.com/gohugoio/hugo/hugolib/hugo_sites_build.go:97 +0x4ce
github.com/gohugoio/hugo/commands.(*commandeer).buildSites(0xc0002ea0c0, 0x402b612, 0xc000000008)
	/private/tmp/hugo-20190201-56215-riuf2q/hugo-0.54.0/src/github.com/gohugoio/hugo/commands/hugo.go:630 +0x79
github.com/gohugoio/hugo/commands.(*commandeer).fullBuild.func3(0x8, 0x4d68e28)
	/private/tmp/hugo-20190201-56215-riuf2q/hugo-0.54.0/src/github.com/gohugoio/hugo/commands/hugo.go:305 +0x2a
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc000bba420, 0xc000b9ba90)
	/Users/brew/Library/Caches/Homebrew/go_cache/pkg/mod/golang.org/x/sync@v0.0.0-20180314180146-1d60e4601c6f/errgroup/errgroup.go:58 +0x57
created by golang.org/x/sync/errgroup.(*Group).Go
	/Users/brew/Library/Caches/Homebrew/go_cache/pkg/mod/golang.org/x/sync@v0.0.0-20180314180146-1d60e4601c6f/errgroup/errgroup.go:55 +0x66

I haven’t touched this repo in a bit, but this did not come up in previous versions (doubt that adds any value to debugging). Thanks much everyone!