I know that I am not the only one who has noticed that sometimes when we edit pages a strange error message pops up that says there is an undefined variable, and it causes the page to look really weird.
No one seems to know what exactly is causing it, but I do know how to fix the pages. All you have to do is hit the edit button, change nothing, and then publish your edit. If the error message appears, repeat. Keep on repeating until the error message does not show up. It's the only way that I know of to fix it, and it works. I've done it several times.
I hope that this is helpful to others on this site who have seen this error message on edits that they've made.