Loop Code return difference result between editor and Published site.

Hi Chookiat,

Just to verify, are your Sandbox and Live databases synced with exactly the same data?