locally changing user acces gives warnings
I removed my admin access to test the proofing feature and I saw these warnings:
Warning (2): Attempt to read property "active" on array [APP/Controller/Admin/UsersController.php, line 92]
Warning (512): Unable to emit headers. Headers sent in file=/srv/app/cake/vendor/cakephp/cakephp/src/Error/Debugger.php line=971 [CORE/src/Http/ResponseEmitter.php, line 71]
Warning (2): Cannot modify header information - headers already sent by (output started at /srv/app/cake/vendor/cakephp/cakephp/src/Error/Debugger.php:971) [CORE/src/Http/ResponseEmitter.php, line 168]
Warning (2): Cannot modify header information - headers already sent by (output started at /srv/app/cake/vendor/cakephp/cakephp/src/Error/Debugger.php:971) [CORE/src/Http/ResponseEmitter.php, line 197]
Warning (2): Cannot modify header information - headers already sent by (output started at /srv/app/cake/vendor/cakephp/cakephp/src/Error/Debugger.php:971) [CORE/src/Http/ResponseEmitter.php, line 197]