Dear all, I hope you are well. I am trying to deploy my website with some modifications, it was working before around January but 2 days, I wanted to deploy some new informations and I am receiving errors, for instance this is the error I am getting at the moment : Run hugo --minify
WARN deprecated: site config key paginate was deprecated in Hugo v0.128.0 and will be removed in a future release. Use pagination.pagerSize instead.
hugo: downloading modules …
hugo: collected modules in 4915 ms
Start building sites …
hugo v0.138.0-ad82998d54b3f9f8c2741b67356813b55b3134b9+extended linux/amd64 BuildDate=2024-11-06T11:22:34Z VendorInfo=gohugoio
WARN In params.yaml
, you requested theme_night: Earth
but there is not a dark
style in data/themes/earth.toml
. Falling back to default dark style.
ERROR deprecated: .Site.GoogleAnalytics was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.139.0. Use .Site.Config.Services.GoogleAnalytics.ID instead.
ERROR deprecated: data.GetCSV was deprecated in Hugo v0.123.0 and will be removed in Hugo 0.139.0. use resources.Get or resources.GetRemote with transform.Unmarshal.
ERROR render of “page” failed: “/tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/layouts/_default/baseof.html:11:403”: execute of template failed: template: landing/single.html:11:403: executing “landing/single.html” at <.File.UniqueID>: can’t evaluate field File in type *source.File
ERROR render of “section” failed: “/tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/layouts/_default/baseof.html:11:403”: execute of template failed: template: section/post.html:11:403: executing “section/post.html” at <.File.UniqueID>: can’t evaluate field File in type *source.File
ERROR render of “section” failed: “/tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/layouts/_default/baseof.html:11:403”: execute of template failed: template: section/publication.html:11:403: executing “section/publication.html” at <.File.UniqueID>: can’t evaluate field File in type *source.File
Total in 5788 ms
Error: error building site: render: failed to render pages: render of “home” failed: “/tmp/hugo_cache_runner/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.7.1-0.20230420205746-951c7b6f709d/layouts/_default/baseof.html:11:403”: execute of template failed: template: index.html:11:403: executing “index.html” at <.File.UniqueID>: can’t evaluate field File in type *source.File
Error: Process completed with exit code 1.
Some people told me to change the hugo version to old version which I was using, so it could work but I dont know where to edit, would you help me with this? this is my repository: GitHub - serkankocabas/serkankocabas.github.io