Suddenly dynamic page cannot get current item

My issue is I want to get item from dynamic page item to display some more data.
Yesterday everything was fine until today I found that the code is not working anymore.
As this image.

Then the item show but it seems like it cannot get current item.


Console log show “null”
Anyone here experience this issue or how can I fix it. Please help.
Thanks a lot.

thank god im not the only one yes im having the same issue, has been happening since yesterday and everything was working fine for months on my code i thought i was going crazy . i get a typeError saying it is null

You forgot to put it inside:

$w("#dataset").onReady(() => {

})

@jonatandor35 Thank you very much it’s working again.