Javascript error on Child Theme
-
Created a child theme.
I’m getting these errors:
priority-menu.js:47 Uncaught TypeError: Failed to execute ‘insertBefore’ on ‘Node’: parameter 1 is not of type ‘Node’.
at prependElement (priority-menu.js:47)
at updateNavigationMenu (priority-menu.js:128)
at updateNavigationMenu (priority-menu.js:149)
at updateNavigationMenu (priority-menu.js:149)
at updateNavigationMenu (priority-menu.js:149)
at updateNavigationMenu (priority-menu.js:149)
at updateNavigationMenu (priority-menu.js:149)
at updateNavigationMenu (priority-menu.js:149)
at updateNavigationMenu (priority-menu.js:149)
at updateNavigationMenu (priority-menu.js:149)priority-menu.js:47 Uncaught TypeError: Failed to execute ‘insertBefore’ on ‘Node’: parameter 1 is not of type ‘Node’.
at prependElement (priority-menu.js:47)
at updateNavigationMenu (priority-menu.js:128)
at HTMLDocument.<anonymous> (priority-menu.js:158)prependElement @ priority-menu.js:47
updateNavigationMenu @ priority-menu.js:128
(anonymous) @ priority-menu.js:158
priority-menu.js:47 Uncaught TypeError: Failed to execute ‘insertBefore’ on ‘Node’: parameter 1 is not of type ‘Node’.
at prependElement (priority-menu.js:47)
at updateNavigationMenu (priority-menu.js:128)
at priority-menu.js:205priority-menu.js:47 Uncaught TypeError: Failed to execute ‘insertBefore’ on ‘Node’: parameter 1 is not of type ‘Node’.
at prependElement (priority-menu.js:47)
at updateNavigationMenu (priority-menu.js:128)
at priority-menu.js:190
- The topic ‘Javascript error on Child Theme’ is closed to new replies.