On 14/05/15 04:02, deamen wrote: > And return_application_language() is calling > return_app_list_strings_language($language) which is defined in > /vtlib/Vtiger/Deprecated.php. > > Can anyone advise me what did I do wrong? > Thanks Try adding include_once 'includes/main/WebUI.php'; To your script. Alan