function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nicole LevyNicole Levy 

CloudPages AMPscript CreateObject(“Subscriber”) is crashing page


When I add the following line in the AMPscript block of my cloud page:
SET @subscriber = CreateObject("Subscriber")
the page will not load. This is the specific line that is crashing the page, the only other AMPscript on the page currently are a couple of variables being set that are pulling the email and subscriber key from the context. Not sure why this is happening, can't seem to find anyone else with the same issue. Thanks in advance!
Best Answer chosen by Nicole Levy
Nicole LevyNicole Levy
It ended up mysteriously working the next day I tried it, after not changing anything. No idea what is going on with cloud pages.

All Answers

Nicole LevyNicole Levy
It ended up mysteriously working the next day I tried it, after not changing anything. No idea what is going on with cloud pages.
This was selected as the best answer