Custom features not rendering after updating hugo version

Some of the custom changes made to the sidebar in my Hugo project are not rendering in the latest version of Hugo. I have posted the sidebar structure for both the old version 0.96.0 and new version 0.120.4.

[Hugo V0.96.0]

[Hugo V0.120.4]

What could have caused this issue to arise?

You’ve asked this question before:

And the answer remains the same:
See Requesting Help.

Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.