Whoops, looks like something went wrong.

Get help in the TYPO3 Documentation

If you need help solving this exception, you can have a look at the TYPO3 Documentation. There you can find solutions provided by the TYPO3 community. Once you have found a solution to the problem, help others by contributing to the documentation page.

Find a solution for this exception in the TYPO3 Documentation.

(1/1) #1425381442 InvalidArgumentException

Invalid target for "EXT:secure_downloads/Resources/Private/Scripts/FileDeliveryEidDispatcher.php", as it is not callable.

in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/Dispatcher.php line 95
        if (is_callable($target)) {
            return $target;
        }

        throw new \InvalidArgumentException('Invalid target for "' . $target . '", as it is not callable.', 1425381442);
    }
}
at TYPO3\CMS\Core\Http\Dispatcher->getCallableFromTarget('EXT:secure_downloads/Resources/Private/Scripts/FileDeliveryEidDispatcher.php')
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/Dispatcher.php line 51
     */
    public function dispatch(ServerRequestInterface $request): ResponseInterface
    {
        $targetIdentifier = $request->getAttribute('target');
        $target = $this->getCallableFromTarget($targetIdentifier);
        $arguments = [$request];
        return call_user_func_array($target, $arguments);
    }

at TYPO3\CMS\Core\Http\Dispatcher->dispatch(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 80
            return (new Response())->withStatus(404, 'eID not registered');
        }

        $request = $request->withAttribute('target', $target);
        return $this->dispatcher->dispatch($request) ?? new NullResponse();
    }
}
at TYPO3\CMS\Frontend\Middleware\EidHandler->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$122))
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$122->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 45
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request));
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$122))
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$122->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 58
        $this->timeTracker->setEnabled($timeTrackingEnabled);
        $this->timeTracker->start(microtime(true));
        $this->timeTracker->push('');

        $response = $handler->handle($request);

        // Finish time tracking
        $this->timeTracker->pull();
        $this->timeTracker->finish();
at TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$122))
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$122->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 78
     * @return ResponseInterface
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        return $this->tip->handle($request);
    }

    /**
     * Seed the middleware stack with the inner request handler
at TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/AbstractApplication.php line 85
     * @return ResponseInterface
     */
    protected function handle(ServerRequestInterface $request): ResponseInterface
    {
        return $this->requestHandler->handle($request);
    }

    /**
     * Set up the application and shut it down afterwards
at TYPO3\CMS\Core\Http\AbstractApplication->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/frontend/Classes/Http/Application.php line 69
        // Create new request object having applicationType "I am a frontend request" attribute.
        $request = $request->withAttribute('applicationType', SystemEnvironmentBuilder::REQUESTTYPE_FE);

        $this->initializeContext();
        return parent::handle($request);
    }

    /**
     * Check if LocalConfiguration.php and PackageStates.php exist
at TYPO3\CMS\Frontend\Http\Application->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/typo3/sysext/core/Classes/Http/AbstractApplication.php line 97
    final public function run(callable $execute = null)
    {
        try {
            $response = $this->handle(
                ServerRequestFactory::fromGlobals()
            );
            if ($execute !== null) {
                call_user_func($execute);
            }
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/index.php line 25
// Set up the application for the frontend
call_user_func(function () {
    $classLoader = require __DIR__.'/vendor/autoload.php';
    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});
at {closure}()
in /var/www/vhosts/hosting117156.a2f78.netcup.net/httpdocs/typo3_src-10.4.31/index.php line 26
call_user_func(function () {
    $classLoader = require __DIR__.'/vendor/autoload.php';
    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});