Error occurred while fetching metadata on every page with suitecrm 8 with PHP 8.024

Hello,
I installed suite CRM via docker and everything works great.
After trying to add some buttons to my new generated module, I made some misstake and the module was broken. I removed my changes, and since them everything is broken.
On every Page I get the Error: Error occurred while fetching metadata

The Problem is, that I`m not able to reach the repair page, because even this page is blocked.

In the network I get this error:

{errors: [{debugMessage: "Warning: foreach() argument must be of type array|object, null given",…}],…}
data
: 
{appMetadata: null}
errors
: 
[{debugMessage: "Warning: foreach() argument must be of type array|object, null given",…}]
0
: 
{debugMessage: "Warning: foreach() argument must be of type array|object, null given",…}
debugMessage
: 
"Warning: foreach() argument must be of type array|object, null given"
extensions
: 
{category: "internal"}
category
: 
"internal"
locations
: 
[{line: 2, column: 3}]
0
: 
{line: 2, column: 3}
message
: 
"Internal server error"
path
: 
["appMetadata"]
0
: 
"appMetadata"
trace
: 
[{file: "/bitnami/suitecrm/public/legacy/modules/ACLActions/ACLAction.php", line: 381,…},…]
0
: 
{file: "/bitnami/suitecrm/public/legacy/modules/ACLActions/ACLAction.php", line: 381,…}
1
: 
{file: "/bitnami/suitecrm/core/backend/Module/LegacyHandler/ModuleRegistryHandler.php", line: 169,…}
2
: 
{file: "/bitnami/suitecrm/core/backend/Module/LegacyHandler/ModuleRegistryHandler.php", line: 105,…}
3
: 
{file: "/bitnami/suitecrm/core/backend/Languages/LegacyHandler/ModStringsHandler.php", line: 113,…}
4
: 
{file: "/bitnami/suitecrm/core/backend/Metadata/Service/AppMetadataProvider.php", line: 347,…}
5
: 
{file: "/bitnami/suitecrm/core/backend/Metadata/Service/AppMetadataProvider.php", line: 183,…}
6
: 
{file: "/bitnami/suitecrm/core/backend/Metadata/Service/AppMetadataProvider.php", line: 153,…}
7
: 
{file: "/bitnami/suitecrm/core/backend/Metadata/DataProvider/AppMetadataItemDataProvider.php",…}
8
: 
{,…}
9
: 
{,…}
10
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/Core/Bridge/Symfony/Routing/IriConverter.php",…}
11
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/Core/GraphQl/Resolver/Stage/ReadStage.php",…}
12
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/Core/GraphQl/Resolver/Stage/ReadStage.php",…}
13
: 
{,…}
14
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 632,…}
15
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 555,…}
16
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 1247,…}
17
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 257,…}
18
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 208,…}
19
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/Executor.php", line: 155,…}
20
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/GraphQL.php", line: 158,…}
21
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/GraphQL.php", line: 90,…}
22
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/GraphQl/Executor.php", line: 32,…}
23
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/GraphQl/Action/EntrypointAction.php", line: 86,…}
24
: 
{file: "/bitnami/suitecrm/vendor/symfony/http-kernel/HttpKernel.php", line: 157,…}
25
: 
{file: "/bitnami/suitecrm/vendor/symfony/http-kernel/HttpKernel.php", line: 79,…}
26
: 
{file: "/bitnami/suitecrm/vendor/symfony/http-kernel/Kernel.php", line: 195,…}
27
: 
{file: "/bitnami/suitecrm/public/index.php", line: 62,…}

and:

data
: 
{moduleMetadata: null}
moduleMetadata
: 
null
errors
: 
[{debugMessage: "Warning: Undefined property: Email::$notes", message: "Internal server error",…}]
0
: 
{debugMessage: "Warning: Undefined property: Email::$notes", message: "Internal server error",…}
debugMessage
: 
"Warning: Undefined property: Email::$notes"
extensions
: 
{category: "internal"}
category
: 
"internal"
locations
: 
[{line: 2, column: 3}]
0
: 
{line: 2, column: 3}
message
: 
"Internal server error"
path
: 
["moduleMetadata"]
0
: 
"moduleMetadata"
trace
: 
[,…]
0
: 
{file: "/bitnami/suitecrm/core/backend/FieldDefinitions/LegacyHandler/FieldDefinitionsHandler.php",…}
1
: 
{file: "/bitnami/suitecrm/core/backend/Process/Service/LineActionDefinitionProvider.php", line: 163,…}
2
: 
{file: "/bitnami/suitecrm/core/backend/Process/Service/LineActionDefinitionProvider.php", line: 131,…}
3
: 
{file: "/bitnami/suitecrm/core/backend/Process/Service/LineActionDefinitionProvider.php", line: 109,…}
4
: 
{file: "/bitnami/suitecrm/core/backend/ViewDefinitions/LegacyHandler/ListViewDefinitionHandler.php",…}
5
: 
{file: "/bitnami/suitecrm/core/backend/ViewDefinitions/LegacyHandler/ViewDefinitionsHandler.php",…}
6
: 
{file: "/bitnami/suitecrm/core/backend/Metadata/Service/ModuleMetadataProvider.php", line: 90,…}
7
: 
{file: "/bitnami/suitecrm/core/backend/Metadata/DataProvider/ModuleMetadataItemDataProvider.php",…}
8
: 
{,…}
9
: 
{,…}
10
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/Core/Bridge/Symfony/Routing/IriConverter.php",…}
11
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/Core/GraphQl/Resolver/Stage/ReadStage.php",…}
12
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/Core/GraphQl/Resolver/Stage/ReadStage.php",…}
13
: 
{,…}
14
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 632,…}
15
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 555,…}
16
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 1247,…}
17
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 257,…}
18
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 208,…}
19
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/Executor.php", line: 155,…}
20
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/GraphQL.php", line: 158,…}
21
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/GraphQL.php", line: 90,…}
22
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/GraphQl/Executor.php", line: 32,…}
23
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/GraphQl/Action/EntrypointAction.php", line: 86,…}
24
: 
{file: "/bitnami/suitecrm/vendor/symfony/http-kernel/HttpKernel.php", line: 157,…}
25
: 
{file: "/bitnami/suitecrm/vendor/symfony/http-kernel/HttpKernel.php", line: 79,…}
26
: 
{file: "/bitnami/suitecrm/vendor/symfony/http-kernel/Kernel.php", line: 195,…}
27
: 
{file: "/bitnami/suitecrm/public/index.php", line: 62,…}

and:

{errors: [{debugMessage: "Warning: foreach() argument must be of type array|object, null given",…}],…}
data
: 
{appMetadata: null}
appMetadata
: 
null
errors
: 
[{debugMessage: "Warning: foreach() argument must be of type array|object, null given",…}]
0
: 
{debugMessage: "Warning: foreach() argument must be of type array|object, null given",…}
debugMessage
: 
"Warning: foreach() argument must be of type array|object, null given"
extensions
: 
{category: "internal"}
category
: 
"internal"
locations
: 
[{line: 2, column: 3}]
0
: 
{line: 2, column: 3}
message
: 
"Internal server error"
path
: 
["appMetadata"]
0
: 
"appMetadata"
trace
: 
[{file: "/bitnami/suitecrm/public/legacy/modules/ACLActions/ACLAction.php", line: 381,…},…]
0
: 
{file: "/bitnami/suitecrm/public/legacy/modules/ACLActions/ACLAction.php", line: 381,…}
1
: 
{file: "/bitnami/suitecrm/core/backend/Module/LegacyHandler/ModuleRegistryHandler.php", line: 169,…}
2
: 
{file: "/bitnami/suitecrm/core/backend/Module/LegacyHandler/ModuleRegistryHandler.php", line: 105,…}
3
: 
{file: "/bitnami/suitecrm/core/backend/Navbar/LegacyHandler/NavbarHandler.php", line: 158,…}
4
: 
{file: "/bitnami/suitecrm/core/backend/Navbar/LegacyHandler/NavbarHandler.php", line: 132,…}
5
: 
{file: "/bitnami/suitecrm/core/backend/Metadata/Service/AppMetadataProvider.php", line: 192,…}
6
: 
{file: "/bitnami/suitecrm/core/backend/Metadata/Service/AppMetadataProvider.php", line: 153,…}
7
: 
{file: "/bitnami/suitecrm/core/backend/Metadata/DataProvider/AppMetadataItemDataProvider.php",…}
8
: 
{,…}
9
: 
{,…}
10
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/Core/Bridge/Symfony/Routing/IriConverter.php",…}
11
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/Core/GraphQl/Resolver/Stage/ReadStage.php",…}
12
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/Core/GraphQl/Resolver/Stage/ReadStage.php",…}
13
: 
{,…}
14
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 632,…}
15
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 555,…}
16
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 1247,…}
17
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 257,…}
18
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php", line: 208,…}
19
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/Executor/Executor.php", line: 155,…}
20
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/GraphQL.php", line: 158,…}
21
: 
{file: "/bitnami/suitecrm/vendor/webonyx/graphql-php/src/GraphQL.php", line: 90,…}
22
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/GraphQl/Executor.php", line: 32,…}
23
: 
{file: "/bitnami/suitecrm/vendor/api-platform/core/src/GraphQl/Action/EntrypointAction.php", line: 86,…}
24
: 
{file: "/bitnami/suitecrm/vendor/symfony/http-kernel/HttpKernel.php", line: 157,…}
25
: 
{file: "/bitnami/suitecrm/vendor/symfony/http-kernel/HttpKernel.php", line: 79,…}
26
: 
{file: "/bitnami/suitecrm/vendor/symfony/http-kernel/Kernel.php", line: 195,…}
27
: 
{file: "/bitnami/suitecrm/public/index.php", line: 62,…}