The reason "Motion permission switched off globally" will appear for iPhone devices when this permission level is changed while clocked in.
First, ensure your iPhone is actually allowed to track motion at all.
Go to Settings.
Scroll down and tap Privacy & Security.
Find Motion & Fitness.
Check the list below it: You should see ClickTime in that list. Make sure the toggle next to ClickTime is also ON.
Once you've enabled the global setting, the option should now appear in the app-specific settings:
Go to Settings.
You should now see Motion & Fitness (or "Physical Activity") listed there