Hi!
I have mastered the situation. It was enough to remove “if” from the plugin’s peaks referring to checking if the code is in the post or not. And it works 🙂
It may be that the plugin needs some special part of the code that is only found in the post or page?
…/nametheme/template-parts/profile/author-stats/dashboard.php
access to the “profile” is only for logged in users.