Cyclic page or component references ‘/apex/PageName’ are not allowed

Cyclic page or component references ‘/apex/PageName’ are not allowed

Cyclic page or component references ‘/apex/PageName’ are not allowed error occurs when we use <apex:page> inside <apex:page>.

So, we have to make sure while creating dynamic visualforce page components using Apex, we should not use <apex:page> inside <apex:page>.
Cheers!

Leave a Reply