I am getting this error "Undefined control sequence" in overleaf when I inserted this code - \social[linkedin]{www.linkedin.com/in/xxxxx} and \social[github]{www.github.com/xxxxx}. I tried solutions given on some previously asked questions[such as on these sites - A1, A2 ] related to this issue, however, they do not seem to work for me.
It'd be of great help if some could suggest any alternate solutions [other than "uploading images of the logos" solution]
Thanks in advance
\documentclass{and ends with\end{document}that recreates your problem. An example for why we need that: The code you are trying to use is from moderncv class? Are you using it in the moderncv class or in a different class? The moderncv class requires the packagefontawesome5that package cannot be used withfontawseome. That class also defines a command\socialthat uses font awsome icons. Do you have that command defined? – Elad Den Jul 17 '22 at 10:58