This is not necessarily a question, more a bug report and a fix for it. I have a site that has some parts that do not require authentication, other parts do. When a user logs in, the forms on the page no longer work, logout button doesnt work either. The page has the following js errors:
Uncaught TypeError: Cannot read property of 'onsubmit' of null
Uncaught ReferenceError: theForm is not defined
I didnt get these error until installing the hotfix 7.0.103
Oddly, I would only get these errors if I logged in through the site but when I logged in through the CMS Desk then went to the member page in the site, I didnt get these errors. A check of the HTML indicated that
was present when logged in through the CMS Desk but not when logged in through the site. I added that block into the head of my template and the js errors went away when logging in through the site.
This is the script that was present when logging in through the CMS desk
Had this issue before with Chrome. Clear your cache and close your browser and try again. Seems the CMSDesk has some JS files and other items cached.
Please, sign in to be able to submit a new answer.