We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you delete an admin who is an admin of a cloud, the cloud will not be shown.
I deleted the admin with the user_id 57. As you can see in the cloud_admins table, the admin with user_id 57 was not deleted from the table
This is the error in the browser. Warning (2) : Attempt to read property "id" on null [in /var/www/rdcore/cake4/rd_cake/src/Controller/CloudsController.php, line 930] Warning (2) : Attempt to read property "username" on null [in /var/www/rdcore/cake4/rd_cake/src/Controller/CloudsController.php, line 933] Warning (2) : Attempt to read property "id" on null [in /var/www/rdcore/cake4/rd_cake/src/Controller/CloudsController.php, line 935] Warning (512) : Unable to emit headers. Headers sent in file=/var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71] Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168] Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197] Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197] { "items": [ { "id": "Clouds_23", "cloud_id": 23, "name": "Cloud", "text": "Cloud", "cls": "txtGreen", "owner": "root (me)", "admins": [ { "username": "master_ecad", "id": 52 }, { "username": null, "id": null } ], "parent_id": "root", "leaf": false, "lat": null, "lng": null, "iconCls": "x-fa fa-cloud txtGreen", "tree_level": "Clouds", "created": "2024-06-07T15:08:58+00:00", "modified": "2024-06-10T06:42:21+00:00", "created_in_words": "2 days ago", "modified_in_words": "49 minutes ago", "update": true, "delete": true } ], "total": 1, "success": true }
Warning (2) : Attempt to read property "id" on null [in /var/www/rdcore/cake4/rd_cake/src/Controller/CloudsController.php, line 930] Warning (2) : Attempt to read property "username" on null [in /var/www/rdcore/cake4/rd_cake/src/Controller/CloudsController.php, line 933] Warning (2) : Attempt to read property "id" on null [in /var/www/rdcore/cake4/rd_cake/src/Controller/CloudsController.php, line 935] Warning (512) : Unable to emit headers. Headers sent in file=/var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71] Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168] Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197] Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197] { "items": [ { "id": "Clouds_23", "cloud_id": 23, "name": "Cloud", "text": "Cloud", "cls": "txtGreen", "owner": "root (me)", "admins": [ { "username": "master_ecad", "id": 52 }, { "username": null, "id": null } ], "parent_id": "root", "leaf": false, "lat": null, "lng": null, "iconCls": "x-fa fa-cloud txtGreen", "tree_level": "Clouds", "created": "2024-06-07T15:08:58+00:00", "modified": "2024-06-10T06:42:21+00:00", "created_in_words": "2 days ago", "modified_in_words": "49 minutes ago", "update": true, "delete": true } ], "total": 1, "success": true }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you delete an admin who is an admin of a cloud, the cloud will not be shown.
I deleted the admin with the user_id 57. As you can see in the cloud_admins table, the admin with user_id 57 was not deleted from the table
This is the error in the browser.
Warning (2) : Attempt to read property "id" on null [in /var/www/rdcore/cake4/rd_cake/src/Controller/CloudsController.php, line 930] Warning (2) : Attempt to read property "username" on null [in /var/www/rdcore/cake4/rd_cake/src/Controller/CloudsController.php, line 933] Warning (2) : Attempt to read property "id" on null [in /var/www/rdcore/cake4/rd_cake/src/Controller/CloudsController.php, line 935] Warning (512) : Unable to emit headers. Headers sent in file=/var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71] Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168] Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197] Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /var/www/rdcore/cake4/rd_cake/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197] { "items": [ { "id": "Clouds_23", "cloud_id": 23, "name": "Cloud", "text": "Cloud", "cls": "txtGreen", "owner": "root (me)", "admins": [ { "username": "master_ecad", "id": 52 }, { "username": null, "id": null } ], "parent_id": "root", "leaf": false, "lat": null, "lng": null, "iconCls": "x-fa fa-cloud txtGreen", "tree_level": "Clouds", "created": "2024-06-07T15:08:58+00:00", "modified": "2024-06-10T06:42:21+00:00", "created_in_words": "2 days ago", "modified_in_words": "49 minutes ago", "update": true, "delete": true } ], "total": 1, "success": true }
The text was updated successfully, but these errors were encountered: