Notice (8): Trying to get property 'id' of non-object [APP/Controller/UnitsController.php, line 658]
Notice (8): Trying to get property 'id' of non-object [APP/Controller/UnitsController.php, line 689]
Warning (512): Unable to emit headers. Headers sent in file=/home/deployment/domains/profitas.lt/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php, line 51]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/deployment/domains/profitas.lt/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 152]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/deployment/domains/profitas.lt/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 185]