I had warning in my project
Package hyperref Warning: Option `pdfpagelabels' is turned off because \thepage is undefined.
I used command before document class.
Can somebody explain me what is exactly happening when I use this command? I have to explain it in my project. It's just the trick to avoid the error by turning labels to false?