``Notice (1024): Undefined property: VouchersController::$tmpDir in /usr/share/nginx/html/cake3/rd_cake/src/Controller/AppController.php on line 143 [CORE/src/Controller/Controller.php, line 388]
Notice (1024): Undefined property: VouchersController::$tmpDir in /usr/share/nginx/html/cake3/rd_cake/src/Controller/VouchersController.php on line 59 [CORE/src/Controller/Controller.php, line 388]
Warning (512): Unable to emit headers. Headers sent in file=/usr/share/nginx/html/cake3/rd_cake/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php, line 51]
Code Context
Cake\Core\Plugin::{closure}() - ROOT/vendor/cakephp/debug_kit/config/bootstrap.php, line 42
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 51
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
require - ROOT/webroot/index.php, line 37 [main] - ROOT/index.php, line 16
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/cake3/rd_cake/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 /usr/share/nginx/html/cake3/rd_cake/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 185]
Code Context
Cake\Core\Plugin::{closure}() - ROOT/vendor/cakephp/debug_kit/config/bootstrap.php, line 42
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 185
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
require - ROOT/webroot/index.php, line 37 [main] - ROOT/index.php, line 16
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/cake3/rd_cake/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 185]
Code Context
Cake\Core\Plugin::{closure}() - ROOT/vendor/cakephp/debug_kit/config/bootstrap.php, line 42
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 185
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
require - ROOT/webroot/index.php, line 37
~~~
~~~ [main] - ROOT/index.php, line 16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Having this problem
``Notice (1024): Undefined property: VouchersController::$tmpDir in /usr/share/nginx/html/cake3/rd_cake/src/Controller/AppController.php on line 143 [CORE/src/Controller/Controller.php, line 388]
Notice (1024): Undefined property: VouchersController::$tmpDir in /usr/share/nginx/html/cake3/rd_cake/src/Controller/VouchersController.php on line 59 [CORE/src/Controller/Controller.php, line 388]
Warning (512): Unable to emit headers. Headers sent in file=/usr/share/nginx/html/cake3/rd_cake/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php, line 51]
Code Context
Cake\Core\Plugin::{closure}() - ROOT/vendor/cakephp/debug_kit/config/bootstrap.php, line 42
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 51
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
require - ROOT/webroot/index.php, line 37
[main] - ROOT/index.php, line 16
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/cake3/rd_cake/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 /usr/share/nginx/html/cake3/rd_cake/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 185]
Code Context
Cake\Core\Plugin::{closure}() - ROOT/vendor/cakephp/debug_kit/config/bootstrap.php, line 42
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 185
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
require - ROOT/webroot/index.php, line 37
[main] - ROOT/index.php, line 16
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/cake3/rd_cake/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 185]
Code Context
Cake\Core\Plugin::{closure}() - ROOT/vendor/cakephp/debug_kit/config/bootstrap.php, line 42
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 185
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
require - ROOT/webroot/index.php, line 37
~~~
~~~ [main] - ROOT/index.php, line 16
Hi,
I don't know if this is fixed in newer versions and how what the tmpDir should contain.
I fixed it temporarily by inserting this at line 143 in /usr/share/nginx/html/cake3/rd_cake/src/Controller/AppController.php:
Last edit: Gunnar Rangøy 2020-11-10