OG:image not rendered properly

I want to have different og:images for subpages.
In the file meta.php are meta tags rendered.
In the file page.php is the meta_image function defined.

When I var_dump variables, I see that meta.php is called for whole website, not for the page.
See the output log:

 page.php meta_image img:https://xxx.yy/media/pages/page1/sculpture.jpg

 page.php meta_image img:https://xxx.yy/media/pages/mediafiles/logo-horizontal.png

 meta.php meta_image img:https://xxx.yy/media/pages/mediafiles/logo-horizontal.png

 page.php meta_image img:https://xxx.yy/media/pages/mediafiles/logo-horizontal.png

 page.php meta_image img:https://xxx.yy/media/pages/page1/sculpture.jpg

 page.php meta_image img:https://xxx.yy/media/pages/mediafiles/logo-horizontal.png

 page.php meta_image img:https://xxx.yy/media/pages/page1/sculpture.jpg

Can I change the order in which the meta.php is called?

Sorry, without any context what page.php and meta.php is and what these are doing, I cannot help.

I thought it is standard backend of Kirby. Isn’t it?
site/methods/page.php
site/snippets/meta/meta.php

No, that is custom code. And the site/methods folder seems to be a left over from Kirby 2.