Hello Nguyen,
Exist condition :This condition required.Code:Only registered members can view the code.
This condition means: use only for listing details page. For other page will be without ID. That's why you should use this condition or create other condition:
Try it.Code:Only registered members can view the code.