Sugar Labels Not showing after copied from GIT (On Demand to my Local Development)

After installing the on demand sugar copy of CRM from Git, Most of the module lables are not showing up.

No labels displayed

After research we found that, The Language files that are supposed to be generate in “cache/api/metadata” are empty. Files are following:

these files are empty

That means, Sugar is building an array of language files and when json encode is performed, there is a error which makes the created JSON file empty. So when this file is loaded, there not any Labels as it is empty.

Does any body have a solution for this? Please help

Parents Reply Children
  • Hi,

    I was on 

    • Sugar (version
    • PHP version: 7.1.11

    I did quick repair and Rebuild, Cleared cache , Checked Language files

    Finally it worked for me when i moved it to another server with php version : 5.6.30 ,  It looks like There is some thing in the PHP 7.1.11 that makes json_encode() to break  the core code and creates a empty json language files in cache.

    Anyways, Thank you Very much Francesca Shiekh