How to solve the problem with expressions in After Effects CC19 and above?
Apply the settings and try using the templates again (if errors occur again, then try restarting After Effects after making changes).