Error: 'Unable to get value of the property childNodes' after update from version 6