Error after updating wp and pagebuilder
-
I get the following error if I have the Inspeect element windows open in IE:
* @return Array same list with new discovered nodes, if any
*/
function grabAllTextNodes(node, allText) {
var
childNodes = node.childNodes,// ERROR MESSAGE TYPED IN BELOW
Unable to get property ‘childNodes’ of undefined or null reference
// END OF ERROR
length = childNodes.length,
subnode,
nodeType;
while (length–) {
subnode = childNodes[length];
nodeType = subnode.nodeType;
// parse emoji only in text nodes
if (nodeType === 3) {
// collect them to process emoji later
allText.push(subnode);
}
// ignore all nodes that are not type 1 or that
// should not be parsed as script, style, and others
else if (nodeType === 1 && !shouldntBeParsed.test(subnode.nodeName)) {
grabAllTextNodes(subnode, allText);
}
}
return allText;
}
The topic ‘Error after updating wp and pagebuilder’ is closed to new replies.