I get a .Site.Author and .Site.Social deprecation error, but I do not use these anywhere

I’d been using Hugo with Hugoplate theme, and did not upgrade Hugo for a while. After the upgrade (and other associated issues), one persisting problem is the following two error messages:

ERROR deprecated: .Site.Social was deprecated in Hugo v0.124.0 and subsequently removed. Implement taxonomy 'social' or use .Site.Params.Social instead.

ERROR deprecated: .Site.Authors was deprecated in Hugo v0.124.0 and subsequently removed. Implement taxonomy 'authors' or use .Site.Params.Author instead.

I looked everywhere in my site directory for .Social or .Authors, but found nothing at all. Perhaps I am doing something completely wrong, but I really cannot figure out what exactly.

I also found a few similar topics on this forum, but none helped. (This topic suggested the issue had been solved…)

The output of hugo env:

hugo v0.147.0+extended+withdeploy darwin/arm64 BuildDate=2025-04-25T15:26:28Z VendorInfo=brew

GOOS="darwin"

GOARCH="arm64"

GOVERSION="go1.24.2"

github.com/sass/libsass="3.6.6"

github.com/webmproject/libwebp="v1.3.2"
  • You are using modules - one of those might use those methods.
  • Looking for .Site.Social and .Site.Authors is not enough, because using a with or range loop it might just be .Social or .Authors.

I would do the following steps to find out what is going on:

  • update all used modules to their latest version to go sure any fixes are applied: run hugo mod get -u ./... and then try running your server.
  • run hugo mod vendor and then search for .Site.Social and .Site.Author and .Site and .Social and .Author in your project. The vendor command will move all modules inside of _vendor so you can search for any offending layout.

In the short term stay on a Hugo version near v0.124.0 to keep the site running.

2 Likes

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