Wrong $page uid, title, or uid

Hi,

I’m on it since this morning and I can’t figure out how to fix it :

I’m just calling the title, id, or uid of the page with

<?php echo $page->title() ?><?php echo $page->id() ?><?php echo $page->uid() ?>

When I set this line inside the template page, it return correctly the values, but when I put this line inside my header snippet, it returns ‘home home home’ ?!
I need to put a specific class into my body tag, and I really don’t know why this problem appears, don’t you know how I can fix it ?

(no plugins, no languages on my configs)
Thx

Do you mean, it returns those values no matter on which page you are when put into the header snippet?

Could you post the contents of your header snippet?