Cannot read property replaceChild of null

1
Hello, can someone help me what could be the reason for this error message ?  Cannot read property 'replaceChild' of null TypeError: Cannot read property 'replaceChild' of null  Log level: error  Log node: Client    
asked
2 answers
2

This means that you are trying to read from an object that is not there. My assumption is that you got this error in a microflow? Set a breakpoint in the microflow and double check if all objects are there and change the code so that you always take the scenario into account that an object is not there.

Regards,

Ronald

 

answered
1

Hi Ronald thank you for your reply! 

I solved it now, the error was probably because I had a page with many conditional visibility rules (regarding booleand value of one attribute) and  whenever  I was executing a microflow on my page, I was changing this boolean value… when I deleted the conditional visibilities (I set them differently not using the boolean attribute) error was gone. 

Lenka

answered