If you code component is suddenly not working in Power Pages on an otherwise boring Monday morning, it’s not necessarily because Monday is a bad day, it may be because Microsoft just pushed an updated over the weekend.
I mentioned in the earlier post we started to have an issue earlier this week:
This liquid code which used to work fine for a year: {% codecomponent name: … %}
Suddenly started to produce an error:
Liquid error: Object reference not set to an instance of an object
I did not think at all this could have been caused by the server-side caching. Alas, a black box is a black box, so don’t question it, just go for it… purge the cache or even restart the site when unusual things start happening on Monday morning.
As noted by the Microsoft support engineer ((yep, I even had a ticket, since AI support agent had no clue), there was an update over the weekend, similar issues were reported, so just try clearing the cache.
