Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/pdftable.inc.php on line 401

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/pdftable.inc.php on line 402

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/pdftable.inc.php on line 402

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/pdftable.inc.php on line 650

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/pdftable.inc.php on line 651

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/pdftable.inc.php on line 652

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/pdftable.inc.php on line 653

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/color.inc.php on line 55

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/color.inc.php on line 55

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/color.inc.php on line 56

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/color.inc.php on line 56

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/color.inc.php on line 57

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/color.inc.php on line 57

Deprecated: Array and string offset access syntax with curly braces is deprecated in /app/frontend/web/phpGrid/server/pdftable/lib/htmlparser.inc.php on line 216
An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in /app/frontend/web/phpGrid/server/pdftable/lib/pdftable.inc.php on line 401. in /app/vendor/yiisoft/yii2/web/Response.php:369
Stack trace:
#0 /app/vendor/yiisoft/yii2/web/Response.php(342): yii\web\Response->sendHeaders()
#1 /app/vendor/yiisoft/yii2/web/ErrorHandler.php(136): yii\web\Response->send()
#2 /app/vendor/yiisoft/yii2/base/ErrorHandler.php(152): yii\web\ErrorHandler->renderException(Object(yii\base\ErrorException))
#3 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\base\ErrorException))
#4 {main}
Previous exception:
yii\base\ErrorException: odbc_connect(): SQL error: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user 'terah.dev'., SQL state 28000 in SQLConnect in /app/vendor/adodb/adodb-php/drivers/adodb-odbc.inc.php:87
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(2, 'odbc_connect():...', '/app/vendor/ado...', 87, Array)
#1 /app/vendor/adodb/adodb-php/drivers/adodb-odbc.inc.php(87): odbc_connect('DRIVER={ODBC Dr...', 'terah.dev', 'terah.dev@22', 2)
#2 /app/vendor/adodb/adodb-php/adodb.inc.php(942): ADODB_odbc->_connect('Driver={SQL Ser...', 'terah.dev', 'terah.dev@22', '')
#3 /app/frontend/web/phpGrid/server/classes/cls_db.php(49): ADOConnection->Connect('Driver={SQL Ser...', 'terah.dev', 'terah.dev@22')
#4 /app/frontend/web/phpGrid/server/classes/cls_db.php(23): C_Database->_db_connect()
#5 /app/frontend/web/phpGrid/server/classes/cls_datagrid.php(139): C_Database->__construct('server.vsoft.pt...', 'terah.dev', 'terah.dev@22', 'Vsoft.Thera.dev', 'odbc_mssql', 'utf8')
#6 /app/common/components/MyPhpGrid.php(58): C_DataGrid->__construct('SELECT idtbZona...', 'idtbZonasAtuaca...', 'tbZonasAtuacaoC...')
#7 /app/common/components/MyPhpGrid.php(24): common\components\MyPhpGrid->configGrelha('SELECT idtbZona...', Object(frontend\models\ZonasAtuacaoConcelhos))
#8 /app/frontend/models/ZonasAtuacaoConcelhos.php(49): common\components\MyPhpGrid->__construct('SELECT idtbZona...', Object(frontend\models\ZonasAtuacaoConcelhos))
#9 /app/frontend/controllers/FormFarmaciasController.php(60): frontend\models\ZonasAtuacaoConcelhos::obterGrelhaMultiselectZonasAtuacaoConcelhos()
#10 [internal function]: frontend\controllers\FormFarmaciasController->actionIndex()
#11 /app/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#12 /app/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams(Array)
#13 /app/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction('', Array)
#14 /app/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('form-farmacias', Array)
#15 /app/vendor/yiisoft/yii2/base/Application.php(384): yii\web\Application->handleRequest(Object(yii\web\Request))
#16 /app/frontend/web/index.php(23): yii\base\Application->run()
#17 {main}

Warning: file_put_contents(/app/frontend/runtime/debug/662ad6eb5e1e7.data): failed to open stream: Permission denied in /app/vendor/yiisoft/yii2-debug/src/LogTarget.php on line 67

Warning: touch(): Utime failed: Permission denied in /app/vendor/yiisoft/yii2-debug/src/LogTarget.php on line 85