Node.removeChild error
-
We are encountering the same problem as mentioned in these issues:
https://wordpress.org/support/topic/removechild-error-when-renaming/
https://wordpress.org/support/topic/error-1922/After hitting edit, changing the Alt text and saving, the error message
Sorry, an error occured! Don't worry, I will fix this, so simply let me know about it.Here is some information about it:Node.removeChild: The node to be removed is not a child of this nodeis displayed. For us, it has been happening for a couple of weeks. It does not happen for every user, though. I was not yet able to reproduce it on Chrome 138 and Firefox 141/142 on Linux or in Chrome 133 and 138 on Windows within a virtual machine, while an employee does reliably get the error on Chrome and Edge on Windows.
Looking at the code, I noticed that most
removeChildcalls in the JS are withinreact-modal. Maybe an update of that library will help? There have been a number of issues withinreact-modalregardingremoveChild: https://github.com/reactjs/react-modal/issues?q=is%3Aissue%20state%3Aclosed%20removeChild It seems that workarounds may still be required: https://github.com/reactjs/react-modal/issues/769#issuecomment-2955444149Another idea may be that the network request is being filtered and this leads to some error. I will try to reproduce the issue and check where exactly it happens and whether there are any other errors on that user’s machine.
We are running Media File Renamer 6.1.0 (currently not Pro), WordPress 6.8.2 and, possibly relevant, the Avada theme and FileBird Pro 6.4.8 on PHP 8.4. All software is current.
The topic ‘Node.removeChild error’ is closed to new replies.