Cannot read property 'session_expired' of null

Now this seems to fix up. There was a syntax error with a ‘)’ missing in a .py file. Had to use python -m compileall . command

However just wondering why didn’t the system show a syntax error even in developer session (using bench serve)…And this .py file seemed to affect another py file with no correlation between them

Thanks a lot guys.