Hi everybody
For the tenth time tried to solve this problem on my installation - and finally I managed to solve it.
Hope that it can help.
In fact, everything appeared to be quite easy.
Once upon a time I installed a module “SuiteCRM Field Level ACL Plugin” to prevent users from modifying particular fields in forms/tables.
After some tests I made a conclusion that it is not exactly what I needed (or it did tot work stable, whatever), and I deactivated it.
Recently, when opening Configuration of SuiteCRM, I paid attention to a php message error on the page, something about acl_fields (wrong argument supplied to foreach, like this). It appeared for the long time, I never paid attention to it, but this time something struck me - well, the module seems to be deactivated, why is there something with ACL?
So I supposed the module IS NOT completely deactivated (or my bad knowledge of SuiteCRM made me conclude it was switched off).
I decided to unload (uninstall) the module, then to make a fast recovery.
And… the problem FIXED!
Veni, vidi, unloaded, vici! :)))
Hope this can help to anyone with smarty-templates problems or problems with javascript-related errors which cannot be understood with a regular approach, and which are not repeated on other installations.
Check your modules.
They can put a chaos into your installation.
And it would not harm to remember the Law of Conservation of Shit in the Nature:
If you have a barrel of jam, and you put a spoon of shit to the barrel, you will get a barrel of shit.
Keep your barrels safe :))