{"message":"file_put_contents(\/var\/www\/html\/b24\/cvtnn\/CloseDay\/crest\/settings.json): Failed to open stream: Permission denied","code":0,"trace":[{"function":"{closure}"},{"file":"\/var\/www\/html\/b24\/cvtnn\/CloseDay\/crest\/crest.php","line":511,"function":"file_put_contents"},{"file":"\/var\/www\/html\/b24\/cvtnn\/CloseDay\/crest\/crest.php","line":363,"function":"setSettingData","class":"CRest","type":"::"},{"file":"\/var\/www\/html\/b24\/cvtnn\/CloseDay\/crest\/crest.php","line":338,"function":"setAppSettings","class":"CRest","type":"::"},{"file":"\/var\/www\/html\/b24\/cvtnn\/CloseDay\/crest\/crest.php","line":143,"function":"GetNewAuth","class":"CRest","type":"::"},{"file":"\/var\/www\/html\/b24\/cvtnn\/CloseDay\/crest\/crest.php","line":235,"function":"callCurl","class":"CRest","type":"::"},{"file":"\/var\/www\/html\/b24\/cvtnn\/CloseDay\/scheduler\/src\/Bitrix\/BitrixClient.php","line":85,"function":"call","class":"CRest","type":"::"},{"file":"\/var\/www\/html\/b24\/cvtnn\/CloseDay\/scheduler\/src\/Bitrix\/BitrixClient.php","line":22,"function":"call","class":"Scheduler\\Bitrix\\BitrixClient","type":"-\u003E"},{"file":"\/var\/www\/html\/b24\/cvtnn\/CloseDay\/scheduler\/api.php","line":34,"function":"getDepartments","class":"Scheduler\\Bitrix\\BitrixClient","type":"-\u003E"}],"params":{"method":"department.get","params":{"sort":"NAME","order":"ASC","START":0,"auth":"7bbccc690082ae240065f1360000004900000714abd4cbca07dd55aa2a14b87c96566a"}}}