I created a MWE that shows my problem
\documentclass{moderncv}
\moderncvstyle{classic}
\firstname{My} % Your first name
\familyname{Name} % Your last name
\email{[email protected]}
\homepage{www.somewebsite.com}{www.somewebsite.com} % <-- A
\begin{document}
% \homepage{www.somewebsite.com}{www.somewebsite.com} % <-- B
\makecvtitle
\end{document}
If I compile this MWE, I receive the following error:
LaTeX Error: Missing \begin{document}. [\homepage{www.somewebsite.com}{w]
If, on the other hand I comment line A but uncomment line B then it works (by working I mean the website appears on the header) but the text also appears in the main document as shown in the following picture
I am on macOS, using tlmgr I confirmed that moderncv is updated to version 2.1 (which seems to be the latest).
Is this a bug on moderncv (I find it unlikely) or is this a problem of my installation? If so, how can I go and chase where the problem is?