I have a resource page (Id 35) where I assign TV-related content. It works fine but after installing babel and uninstall suddenly when I do a snippet call it doesn’t work anymore!
The Snippet name is: getSiteRelatedData (Returns the value of the tv determined by the argument $id on the SiteRelated Document of the current context
I’m not familiar with the babel extra but the snippet you posted requires a snippet called BabelTranslation. Does this snippet still exist if you uninstalled Babel? I suspect not unless it’s a custom snippet you wrote?
Did the problem begin with installing Babel? It seems you would have had babel installed for it to work. Could that BabelTranslation snippet been changed, and then overwritten when re-installing Babel?
Be sure you’re not logged in to the Manager when testing this. When looking at the front-end while logged in to the Manager, the $modx->context->key will be ‘mgr’ which would probably make the snippet fail (unless you’ve explicitly logged in to the front end).
You might add this after you set the params as a diagnostic: