Executing "partials/functions/warnings.html" at <.Site.Params.showAppearanceSwitcher>: can't evaluate field Site in type *page.siteWrapper

ERROR render of "page" failed: "****/modules/filecache/modules/pkg/mod/github.com/jpanther/congo/v2@v2.5.4/layouts/_default/baseof.html:1:4":
 execute of template failed: template: _default/single.html:1:4: executing "_default/single.html" 
at <partial "partials/functions/warnings.html" .Site>: error calling partial: "****/modules/filecache/modules/pkg/mod/github.com/jpanther/congo/v2@v2.5.4/layouts/partials/functions/warnings.html:1:14":
 execute of template failed: template: partials/functions/warnings.html:1:14: 
executing "partials/functions/warnings.html" at <.Site.Params.showAppearanceSwitcher>: can't evaluate field Site in type *page.siteWrapper

It was running normally a few days ago, but now when running it, this error is reported。

After I commented out the contents in config/_default/module.toml, the program ran normally.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.