@ajanistella I haven’t seen a repeater element function code done quite this way. I tried it, and it ended up firing for every row of the repeater, a behavior that one would seldom want.
Instead, see if putting the onClick function code outside the onItemReady function but still within the page onReady() and see if you still get the same “‘effects’ is not defined” error. Something like this if it’s a dataset that populates the repeater. If you get the same error, examine the console.log to be sure that the itemData object is returning what you think it is.
$w("#container2").onClick((event) => {
let $item = $w.at(event.context);
let itemData = $item("#dataset1").getCurrentItem();
console.log(itemData);
wixLocation.to(itemData.link-effects-title);
})