Call to undefined function Concrete\Core\File\app()

Permalink
In C5 8.5.4 suddenly strange errors occure:
Both were starting at the same time.

1. If uploading files to the filemanager it throws an error:
{"error":{"type":"Error","message":"Call to undefined function Concrete\\Core\\File\\app()","file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/File\/ValidationService.php","line":78,"trace":[{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/File\/ValidationService.php","line":78,"function":null,"class":"Error","args":["Call to undefined function Concrete\\Core\\File\\app()"]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/File\/Import\/Processor\/FileExtensionValidator.php","line":62,"function":"extension","class":"Concrete\\Core\\File\\ValidationService","args":["huhu.txt"]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/File\/Import\/FileImporter.php","line":205,"function":"validate","class":"Concrete\\Core\\File\\Import\\Processor\\FileExtensionValidator","args":[{},{}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/File\/Import\/FileImporter.php","line":183,"function":"applyValidators","class":"Concrete\\Core\\File\\Import\\FileImporter","args":[{},{}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/File\/Import\/FileImporter.php","line":97,"function":"import","class":"Concrete\\Core\\File\\Import\\FileImporter","args":[{},{}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/File\/Importer.php","line":220,"function":"importLocalFile","class":"Concrete\\Core\\File\\Import\\FileImporter","args":["\/var\/www\/atmosmed.com\/web\/application\/files\/tmp\/volatile-0-60102889375ab\/file","huhu.txt",{}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/controllers\/backend\/file.php","line":510,"function":"import","class":"Concrete\\Core\\File\\Importer","args":["\/var\/www\/clients\/client160\/web804\/tmp\/phpQ3fR2d","huhu.txt",{"error":"","treeNodeID":"7","treeNodeTypeID":"7","treeID":"3","treeNodeParentID":"0","treeNodeDisplayOrder":"0","treeNodeName":"","dateModified":"2021-01-19 10:32:41","dateCreated":"2019-03-18 09:48:37","treeNodeOverridePermissions":"1","inheritPermissionsFromTreeNodeID":"7","treeNodeTypeHandle":"file_folder"}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/controllers\/backend\/file.php","line":197,"function":"handleUpload","class":"Concrete\\Controller\\Backend\\File","args":["file"]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Controller\/AbstractController.php","line":315,"function":"upload","class":"Concrete\\Controller\\Backend\\File","args":[]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Controller\/AbstractController.php","line":315,"function":"call_user_func_array","class":null,"args":[[{},"upload"],[]]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Routing\/ControllerRouteAction.php","line":64,"function":"runAction","class":"Concrete\\Core\\Controller\\AbstractController","args":["upload",[]]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/RouteDispatcher.php","line":37,"function":"execute","class":"Concrete\\Core\\Routing\\ControllerRouteAction","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}},{},[]]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/DispatcherDelegate.php","line":39,"function":"dispatch","class":"Concrete\\Core\\Http\\RouteDispatcher","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/MiddlewareStack.php","line":86,"function":"next","class":"Concrete\\Core\\Http\\Middleware\\DispatcherDelegate","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/DefaultDispatcher.php","line":125,"function":"process","class":"Concrete\\Core\\Http\\Middleware\\MiddlewareStack","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/DefaultDispatcher.php","line":58,"function":"handleDispatch","class":"Concrete\\Core\\Http\\DefaultDispatcher","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/DispatcherDelegate.php","line":39,"function":"dispatch","class":"Concrete\\Core\\Http\\DefaultDispatcher","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/ThumbnailMiddleware.php","line":76,"function":"next","class":"Concrete\\Core\\Http\\Middleware\\DispatcherDelegate","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/MiddlewareDelegate.php","line":50,"function":"process","class":"Concrete\\Core\\Http\\Middleware\\ThumbnailMiddleware","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}},{}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/FrameOptionsMiddleware.php","line":39,"function":"next","class":"Concrete\\Core\\Http\\Middleware\\MiddlewareDelegate","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/MiddlewareDelegate.php","line":50,"function":"process","class":"Concrete\\Core\\Http\\Middleware\\FrameOptionsMiddleware","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}},{}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/CookieMiddleware.php","line":35,"function":"next","class":"Concrete\\Core\\Http\\Middleware\\MiddlewareDelegate","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/MiddlewareDelegate.php","line":50,"function":"process","class":"Concrete\\Core\\Http\\Middleware\\CookieMiddleware","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}},{}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/ApplicationMiddleware.php","line":29,"function":"next","class":"Concrete\\Core\\Http\\Middleware\\MiddlewareDelegate","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/MiddlewareDelegate.php","line":50,"function":"process","class":"Concrete\\Core\\Http\\Middleware\\ApplicationMiddleware","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}},{}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/Middleware\/MiddlewareStack.php","line":86,"function":"next","class":"Concrete\\Core\\Http\\Middleware\\MiddlewareDelegate","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Http\/DefaultServer.php","line":85,"function":"process","class":"Concrete\\Core\\Http\\Middleware\\MiddlewareStack","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Foundation\/Runtime\/Run\/DefaultRunner.php","line":128,"function":"handleRequest","class":"Concrete\\Core\\Http\\DefaultServer","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/src\/Foundation\/Runtime\/DefaultRuntime.php","line":102,"function":"run","class":"Concrete\\Core\\Foundation\\Runtime\\Run\\DefaultRunner","args":[]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/concrete\/dispatcher.php","line":45,"function":"run","class":"Concrete\\Core\\Foundation\\Runtime\\DefaultRuntime","args":[]},{"file":"\/var\/www\/clients\/client160\/web804\/web\/index.php","line":3,"function":"require","class":null,"args":["\/var\/www\/clients\/client160\/web804\/web\/concrete\/dispatcher.php"]}]},"errors":["Call to undefined function Concrete\\Core\\File\\app()"]}


2. If trying to edit an express-entity-item:
(only, if there are select-attributes with selected option "user can add selections")

[code]Call to undefined function Concrete\Core\Attribute\app()
Error thrown with message "Call to undefined function Concrete\Core\Attribute\app()"

Stacktrace:
#34 Error in /var/www/clients/client160/web804/web/concrete/src/Attribute/View.php:169
#33 Concrete\Core\Attribute\View:action in /var/www/clients/client160/web804/web/concrete/attributes/select/form.php:111
#32 include in /var/www/clients/client160/web804/web/concrete/src/View/AbstractView.php:180
#31 Concrete\Core\View\AbstractView:renderViewContents in /var/www/clients/client160/web804/web/concrete/src/View/AbstractView.php:164
#30 Concrete\Core\View\AbstractView:render in /var/www/clients/client160/web804/web/concrete/src/Attribute/Context/BasicFormContext.php:33
#29 Concrete\Core\Attribute\Context\BasicFormContext:render in /var/www/clients/client160/web804/web/concrete/src/Attribute/Form/Control/View/View.php:54
#28 Concrete\Core\Attribute\Form\Control\View\View:renderControl in /var/www/clients/client160/web804/web/concrete/elements/form/bootstrap3.php:14
#27 include in /var/www/clients/client160/web804/web/concrete/src/Form/Control/Renderer.php:32
#26 Concrete\Core\Form\Control\Renderer:render in /var/www/clients/client160/web804/web/concrete/elements/express/form/form/form.php:34
#25 include in /var/www/clients/client160/web804/web/concrete/src/Form/Control/Renderer.php:32
#24 Concrete\Core\Form\Control\Renderer:render in /var/www/clients/client160/web804/web/concrete/src/Express/Form/Renderer.php:60
#23 Concrete\Core\Express\Form\Renderer:render in /var/www/clients/client160/web804/web/concrete/single_pages/dashboard/express/entries/update.php:11
#22 include in /var/www/clients/client160/web804/web/concrete/src/View/View.php:267
#21 Concrete\Core\View\View:renderInnerContents in /var/www/clients/client160/web804/web/concrete/src/View/View.php:245
#20 Concrete\Core\View\View:renderViewContents in /var/www/clients/client160/web804/web/concrete/src/View/AbstractView.php:164
#19 Concrete\Core\View\AbstractView:render in /var/www/clients/client160/web804/web/concrete/src/Http/ResponseFactory.php:149
#18 Concrete\Core\Http\ResponseFactory:view in /var/www/clients/client160/web804/web/concrete/src/Http/ResponseFactory.php:216
#17 Concrete\Core\Http\ResponseFactory:controller in /var/www/clients/client160/web804/web/concrete/src/Http/ResponseFactory.php:367
#16 Concrete\Core\Http\ResponseFactory:collection in /var/www/clients/client160/web804/web/concrete/src/Http/DefaultDispatcher.php:130
#15 Concrete\Core\Http\DefaultDispatcher:handleDispatch in /var/www/clients/client160/web804/web/concrete/src/Http/DefaultDispatcher.php:58
#14 Concrete\Core\Http\DefaultDispatcher:dispatch in /var/www/clients/client160/web804/web/concrete/src/Http/Middleware/DispatcherDelegate.php:39
#13 Concrete\Core\Http\Middleware\DispatcherDelegate:next in /var/www/clients/client160/web804/web/concrete/src/Http/Middleware/ThumbnailMiddleware.php:76
#12 Concrete\Core\Http\Middleware\ThumbnailMiddleware:process in /var/www/clients/client160/web804/web/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#11 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /var/www/clients/client160/web804/web/concrete/src/Http/Middleware/FrameOptionsMiddleware.php:39
#10 Concrete\Core\Http\Middleware\FrameOptionsMiddleware:process in /var/www/clients/client160/web804/web/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#9 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /var/www/clients/client160/web804/web/concrete/src/Http/Middleware/CookieMiddleware.php:35
#8 Concrete\Core\Http\Middleware\CookieMiddleware:process in /var/www/clients/client160/web804/web/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#7 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /var/www/clients/client160/web804/web/concrete/src/Http/Middleware/ApplicationMiddleware.php:29
#6 Concrete\Core\Http\Middleware\ApplicationMiddleware:process in /var/www/clients/client160/web804/web/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#5 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /var/www/clients/client160/web804/web/concrete/src/Http/Middleware/MiddlewareStack.php:86
#4 Concrete\Core\Http\Middleware\MiddlewareStack:process in /var/www/clients/client160/web804/web/concrete/src/Http/DefaultServer.php:85
#3 Concrete\Core\Http\DefaultServer:handleRequest in /var/www/clients/client160/web804/web/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:128
#2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /var/www/clients/client160/web804/web/concrete/src/Foundation/Runtime/DefaultRuntime.php:102
#1 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /var/www/clients/client160/web804/web/concrete/dispatcher.php:45
#0 require in /var/www/clients/client160/web804/web/index.php:3
[code]

Any idea how to find the error?

maschenborn