Added user group permission for error log

Added user group permission for error log
double $json = array(); in attribute file on autocomplete function