.Page.Hugo is deprecated console warning

In my parts of the planet we have a saying: “a hand aches, so time to chop it off”.

No mate. Things do not work like that. The console gave you a WARN about

.Page.Hugo is deprecated Use the global hugo function.

Had you followed the Requesting Help guidelines and searched the Documentation you would have encountered the following function:

And by the way I think that the console message is very helpful and there is no curiosity in that warning.

In the end you need to research a bit before opening a redundant topic.