Error when initiating hugo server with PaperMod theme

Hello everyone,

I’m trying to get the PaperMod theme to work and I’m getting the following error, Any help would be highly appreciated.

config.yaml has the following entry for language code

baseURL: http://abc.in
languageCode: en-us
title: My New Hugo Site
theme: PaperMod

Error that follows when running the command hugo server

Building sites … ERROR 2024/02/02 04:30:10 render of "taxonomyTerm" failed: "/home/ubuntu/MyFreshWebsite/themes/PaperMod/layouts/_default/rss.xml:59:17": execute of template failed: template: _default/rss.xml:59:17: executing "_default/rss.xml" at <site>: can't evaluate field LanguageCode in type *langs.Language
ERROR 2024/02/02 04:30:10 render of "taxonomyTerm" failed: "/home/ubuntu/MyFreshWebsite/themes/PaperMod/layouts/_default/rss.xml:59:17": execute of template failed: template: _default/rss.xml:59:17: executing "_default/rss.xml" at <site>: can't evaluate field LanguageCode in type *langs.Language
Built in 117 ms
Error: Error building site: failed to render pages: render of "home" failed: "/home/ubuntu/MyFreshWebsite/themes/PaperMod/layouts/_default/rss.xml:59:17": execute of template failed: template: _default/rss.xml:59:17: executing "_default/rss.xml" at <site>: can't evaluate field LanguageCode in type *langs.Language

You are using an old version of hugo. I suggest you download and install the latest.