Skip to content
New issue

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

[BUG] Undefined array key "SERVER_NAME" on save when default language is disabled for page #4278

Open
schliesser opened this issue Jan 7, 2025 · 0 comments

Comments

@schliesser
Copy link
Contributor

Describe the bug
Editing a page which is disabled for the default language (l18n_cfg = 3) creates invalid internal requests during Garbage collection when the SYS trustedHostsPattern is set to 'SERVER_NAME':

Core: Error handler (BE): PHP Warning: Undefined array key "SERVER_NAME" in /var/www/html/app/vendor/typo3/cms-core/Classes/Middleware/VerifyHostHeader.php line 103

To Reproduce
Steps to reproduce the behavior:

  1. Setup Page: Create a page with a translation and disable the default language via [l18n_cfg] = 3 setting, make sure to have indexing ([no_search] = 0)enabled for the page
  2. Enable SERVER_NAME validation: [SYS][trustedHostsPattern] = 'SERVER_NAME'
  3. Set error level: [SYS][exceptionalErrors] = 4096
  4. Toggle the page visibility ([hidden])
  5. See error in Log Module

Expected behavior
No error in log ;-)

Maybe some condition to check for disabled default languages when creating the FrontendController?

Or simply add a condition to the TYPO3 Core VerifyHostHeader Middleware to return false when the request doesn't match. But I'm not sure wether that breaks the solr garbage collection? 🤔

/**
     * Checks if the provided host header value matches the trusted hosts pattern without any preprocessing.
     */
    protected function hostHeaderValueMatchesTrustedHostsPattern(string $hostHeaderValue, array $serverParams): bool
    {
        if ($this->trustedHostsPattern === self::ENV_TRUSTED_HOSTS_PATTERN_SERVER_NAME) {
            $host = strtolower($hostHeaderValue);
            // Default port to be verified if HTTP_HOST does not contain explicit port information.
            // Deriving from raw/local webserver HTTPS information (not taking possible proxy configurations into account)
            // as we compare against the raw/local server information (SERVER_PORT).
            $port = self::webserverUsesHttps($serverParams) ? '443' : '80';

            $parsedHostValue = parse_url('http://' . $host);
            if (isset($parsedHostValue['port'])) {
                $host = $parsedHostValue['host'];
                $port = (string)$parsedHostValue['port'];
            }

            // NEW: Fail on missing env variables
            if (!isset($serverParams['SERVER_NAME'], $serverParams['SERVER_PORT'])) {
                return false;
            }

            // Allow values that equal the server name
            // Note that this is only secure if name base virtual host are configured correctly in the webserver
            $hostMatch = $host === strtolower($serverParams['SERVER_NAME']) && $port === $serverParams['SERVER_PORT'];
        } else {
            // In case name based virtual hosts are not possible, we allow setting a trusted host pattern
            // See https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2014-001/ for further details
            $hostMatch = (bool)preg_match('/^' . $this->trustedHostsPattern . '$/i', $hostHeaderValue);
        }

        return $hostMatch;
    }

Screenshots

image

Used versions (please complete the following information):

  • TYPO3 Version: 12.4.24
  • Browser: chrome
  • EXT:solr Version: 12.0.5
  • Used Apache Solr Version: 9.6.1
  • PHP Version: 8.3.15
  • MySQL Version: 8.0.36

Additional context
Backtrace Ausgabe in vendor/typo3/cms-core/Classes/Middleware/VerifyHostHeader.php->hostHeaderValueMatchesTrustedHostsPattern():

/var/www/html/app/vendor/typo3/cms-core/Classes/Middleware/VerifyHostHeader.php:96:
array (size=74)
  0 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Middleware/VerifyHostHeader.php' (length=79)
      'line' => int 74
      'function' => string 'hostHeaderValueMatchesTrustedHostsPattern' (length=41)
      'class' => string 'TYPO3\CMS\Core\Middleware\VerifyHostHeader' (length=42)
      'type' => string '->' (length=2)
  1 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Middleware/VerifyHostHeader.php' (length=79)
      'line' => int 46
      'function' => string 'isAllowedHostHeaderValue' (length=24)
      'class' => string 'TYPO3\CMS\Core\Middleware\VerifyHostHeader' (length=42)
      'type' => string '->' (length=2)
  2 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Core\Middleware\VerifyHostHeader' (length=42)
      'type' => string '->' (length=2)
  3 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-frontend/Classes/Middleware/TimeTrackerInitialization.php' (length=92)
      'line' => int 46
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  4 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization' (length=55)
      'type' => string '->' (length=2)
  5 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/lochmueller/staticfilecache/Classes/Middleware/FallbackMiddleware.php' (length=94)
      'line' => int 49
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  6 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'SFC\Staticfilecache\Middleware\FallbackMiddleware' (length=49)
      'type' => string '->' (length=2)
  7 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 70
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  8 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/AbstractApplication.php' (length=76)
      'line' => int 87
      'function' => string 'handle' (length=6)
      'class' => string 'TYPO3\CMS\Core\Http\MiddlewareDispatcher' (length=40)
      'type' => string '->' (length=2)
  9 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-frontend/Classes/Http/Application.php' (length=72)
      'line' => int 59
      'function' => string 'handle' (length=6)
      'class' => string 'TYPO3\CMS\Core\Http\AbstractApplication' (length=39)
      'type' => string '->' (length=2)
  10 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Error/PageErrorHandler/PageContentErrorHandler.php' (length=98)
      'line' => int 148
      'function' => string 'handle' (length=6)
      'class' => string 'TYPO3\CMS\Frontend\Http\Application' (length=35)
      'type' => string '->' (length=2)
  11 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Error/PageErrorHandler/PageContentErrorHandler.php' (length=98)
      'line' => int 97
      'function' => string 'sendSubRequest' (length=14)
      'class' => string 'TYPO3\CMS\Core\Error\PageErrorHandler\PageContentErrorHandler' (length=61)
      'type' => string '->' (length=2)
  12 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Error/PageErrorHandler/PageContentErrorHandler.php' (length=98)
      'line' => int 126
      'function' => string 'TYPO3\CMS\Core\Error\PageErrorHandler\{closure}' (length=47)
      'class' => string 'TYPO3\CMS\Core\Error\PageErrorHandler\PageContentErrorHandler' (length=61)
      'type' => string '->' (length=2)
  13 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Error/PageErrorHandler/PageContentErrorHandler.php' (length=98)
      'line' => int 97
      'function' => string 'stashEnvironment' (length=16)
      'class' => string 'TYPO3\CMS\Core\Error\PageErrorHandler\PageContentErrorHandler' (length=61)
      'type' => string '->' (length=2)
  14 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-frontend/Classes/Controller/ErrorController.php' (length=82)
      'line' => int 85
      'function' => string 'handlePageError' (length=15)
      'class' => string 'TYPO3\CMS\Core\Error\PageErrorHandler\PageContentErrorHandler' (length=61)
      'type' => string '->' (length=2)
  15 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-frontend/Classes/Controller/TypoScriptFrontendController.php' (length=95)
      'line' => int 1773
      'function' => string 'pageNotFoundAction' (length=18)
      'class' => string 'TYPO3\CMS\Frontend\Controller\ErrorController' (length=45)
      'type' => string '->' (length=2)
  16 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-frontend/Classes/Controller/TypoScriptFrontendController.php' (length=95)
      'line' => int 707
      'function' => string 'settingLanguage' (length=15)
      'class' => string 'TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController' (length=58)
      'type' => string '->' (length=2)
  17 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/FrontendEnvironment/Tsfe.php' (length=88)
      'line' => int 172
      'function' => string 'determineId' (length=11)
      'class' => string 'TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController' (length=58)
      'type' => string '->' (length=2)
  18 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/FrontendEnvironment/Tsfe.php' (length=88)
      'line' => int 295
      'function' => string 'initializeTsfe' (length=14)
      'class' => string 'ApacheSolrForTypo3\Solr\FrontendEnvironment\Tsfe' (length=48)
      'type' => string '->' (length=2)
  19 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/FrontendEnvironment/Tsfe.php' (length=88)
      'line' => int 214
      'function' => string 'assureIsInitialized' (length=19)
      'class' => string 'ApacheSolrForTypo3\Solr\FrontendEnvironment\Tsfe' (length=48)
      'type' => string '->' (length=2)
  20 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/FrontendEnvironment/TypoScript.php' (length=94)
      'line' => int 99
      'function' => string 'getTsfeByPageIdAndLanguageId' (length=28)
      'class' => string 'ApacheSolrForTypo3\Solr\FrontendEnvironment\Tsfe' (length=48)
      'type' => string '->' (length=2)
  21 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/FrontendEnvironment/TypoScript.php' (length=94)
      'line' => int 82
      'function' => string 'buildConfigurationArray' (length=23)
      'class' => string 'ApacheSolrForTypo3\Solr\FrontendEnvironment\TypoScript' (length=54)
      'type' => string '->' (length=2)
  22 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/FrontendEnvironment.php' (length=83)
      'line' => int 52
      'function' => string 'getConfigurationFromPageId' (length=26)
      'class' => string 'ApacheSolrForTypo3\Solr\FrontendEnvironment\TypoScript' (length=54)
      'type' => string '->' (length=2)
  23 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/FrontendEnvironment.php' (length=83)
      'line' => int 101
      'function' => string 'getConfigurationFromPageId' (length=26)
      'class' => string 'ApacheSolrForTypo3\Solr\FrontendEnvironment' (length=43)
      'type' => string '->' (length=2)
  24 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/Domain/Index/Queue/UpdateHandler/AbstractUpdateHandler.php' (length=118)
      'line' => int 167
      'function' => string 'getSolrConfigurationFromPageId' (length=30)
      'class' => string 'ApacheSolrForTypo3\Solr\FrontendEnvironment' (length=43)
      'type' => string '->' (length=2)
  25 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/Domain/Index/Queue/UpdateHandler/GarbageHandler.php' (length=111)
      'line' => int 152
      'function' => string 'isRecursivePageUpdateRequired' (length=29)
      'class' => string 'ApacheSolrForTypo3\Solr\Domain\Index\Queue\UpdateHandler\AbstractUpdateHandler' (length=78)
      'type' => string '->' (length=2)
  26 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/Domain/Index/Queue/UpdateHandler/GarbageHandler.php' (length=111)
      'line' => int 130
      'function' => string 'deleteSubEntriesWhenRecursiveTriggerIsRecognized' (length=48)
      'class' => string 'ApacheSolrForTypo3\Solr\Domain\Index\Queue\UpdateHandler\GarbageHandler' (length=71)
      'type' => string '->' (length=2)
  27 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/Domain/Index/Queue/UpdateHandler/EventListener/ImmediateProcessingEventListener.php' (length=143)
      'line' => int 166
      'function' => string 'performRecordGarbageCheck' (length=25)
      'class' => string 'ApacheSolrForTypo3\Solr\Domain\Index\Queue\UpdateHandler\GarbageHandler' (length=71)
      'type' => string '->' (length=2)
  28 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/Domain/Index/Queue/UpdateHandler/EventListener/ImmediateProcessingEventListener.php' (length=143)
      'line' => int 53
      'function' => string 'handleRecordGarbageCheckEvent' (length=29)
      'class' => string 'ApacheSolrForTypo3\Solr\Domain\Index\Queue\UpdateHandler\EventListener\ImmediateProcessingEventListener' (length=103)
      'type' => string '->' (length=2)
  29 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/EventDispatcher/EventDispatcher.php' (length=83)
      'line' => int 42
      'function' => string '__invoke' (length=8)
      'class' => string 'ApacheSolrForTypo3\Solr\Domain\Index\Queue\UpdateHandler\EventListener\ImmediateProcessingEventListener' (length=103)
      'type' => string '->' (length=2)
  30 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-adminpanel/Classes/Service/EventDispatcher.php' (length=81)
      'line' => int 38
      'function' => string 'dispatch' (length=8)
      'class' => string 'TYPO3\CMS\Core\EventDispatcher\EventDispatcher' (length=46)
      'type' => string '->' (length=2)
  31 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/apache-solr-for-typo3/solr/Classes/GarbageCollector.php' (length=80)
      'line' => int 197
      'function' => string 'dispatch' (length=8)
      'class' => string 'TYPO3\CMS\Adminpanel\Service\EventDispatcher' (length=44)
      'type' => string '->' (length=2)
  32 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/DataHandling/DataHandler.php' (length=76)
      'line' => int 777
      'function' => string 'processDatamap_afterDatabaseOperations' (length=38)
      'class' => string 'ApacheSolrForTypo3\Solr\GarbageCollector' (length=40)
      'type' => string '->' (length=2)
  33 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/DataHandling/DataHandler.php' (length=76)
      'line' => int 1169
      'function' => string 'hook_processDatamap_afterDatabaseOperations' (length=43)
      'class' => string 'TYPO3\CMS\Core\DataHandling\DataHandler' (length=39)
      'type' => string '->' (length=2)
  34 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Controller/SimpleDataHandlerController.php' (length=93)
      'line' => int 225
      'function' => string 'process_datamap' (length=15)
      'class' => string 'TYPO3\CMS\Core\DataHandling\DataHandler' (length=39)
      'type' => string '->' (length=2)
  35 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Controller/SimpleDataHandlerController.php' (length=93)
      'line' => int 113
      'function' => string 'processRequest' (length=14)
      'class' => string 'TYPO3\CMS\Backend\Controller\SimpleDataHandlerController' (length=56)
      'type' => string '->' (length=2)
  36 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Http/RouteDispatcher.php' (length=75)
      'line' => int 77
      'function' => string 'mainAction' (length=10)
      'class' => string 'TYPO3\CMS\Backend\Controller\SimpleDataHandlerController' (length=56)
      'type' => string '->' (length=2)
  37 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Http/RequestHandler.php' (length=74)
      'line' => int 104
      'function' => string 'dispatch' (length=8)
      'class' => string 'TYPO3\CMS\Backend\Http\RouteDispatcher' (length=38)
      'type' => string '->' (length=2)
  38 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Middleware/ResponsePropagation.php' (length=82)
      'line' => int 34
      'function' => string 'handle' (length=6)
      'class' => string 'TYPO3\CMS\Backend\Http\RequestHandler' (length=37)
      'type' => string '->' (length=2)
  39 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Core\Middleware\ResponsePropagation' (length=45)
      'type' => string '->' (length=2)
  40 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Middleware/SiteResolver.php' (length=78)
      'line' => int 64
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  41 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Backend\Middleware\SiteResolver' (length=41)
      'type' => string '->' (length=2)
  42 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Middleware/SudoModeInterceptor.php' (length=85)
      'line' => int 51
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  43 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Backend\Middleware\SudoModeInterceptor' (length=48)
      'type' => string '->' (length=2)
  44 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Middleware/AdditionalResponseHeaders.php' (length=91)
      'line' => int 37
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  45 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Backend\Middleware\AdditionalResponseHeaders' (length=54)
      'type' => string '->' (length=2)
  46 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Middleware/ContentSecurityPolicyHeaders.php' (length=94)
      'line' => int 51
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  47 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Backend\Middleware\ContentSecurityPolicyHeaders' (length=57)
      'type' => string '->' (length=2)
  48 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Middleware/OutputCompression.php' (length=83)
      'line' => int 43
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  49 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Backend\Middleware\OutputCompression' (length=46)
      'type' => string '->' (length=2)
  50 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Middleware/BackendModuleValidator.php' (length=88)
      'line' => int 72
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  51 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Backend\Middleware\BackendModuleValidator' (length=51)
      'type' => string '->' (length=2)
  52 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Middleware/BackendUserAuthenticator.php' (length=90)
      'line' => int 159
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  53 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Backend\Middleware\BackendUserAuthenticator' (length=53)
      'type' => string '->' (length=2)
  54 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Middleware/RequestTokenMiddleware.php' (length=85)
      'line' => int 71
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  55 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Core\Middleware\RequestTokenMiddleware' (length=48)
      'type' => string '->' (length=2)
  56 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Middleware/BackendRouteInitialization.php' (length=92)
      'line' => int 80
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  57 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Backend\Middleware\BackendRouteInitialization' (length=55)
      'type' => string '->' (length=2)
  58 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Middleware/ContentSecurityPolicyReporter.php' (length=95)
      'line' => int 41
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  59 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Backend\Middleware\ContentSecurityPolicyReporter' (length=58)
      'type' => string '->' (length=2)
  60 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Middleware/ForcedHttpsBackendRedirector.php' (length=94)
      'line' => int 55
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  61 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Backend\Middleware\ForcedHttpsBackendRedirector' (length=57)
      'type' => string '->' (length=2)
  62 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Middleware/LockedBackendGuard.php' (length=84)
      'line' => int 71
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  63 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Backend\Middleware\LockedBackendGuard' (length=47)
      'type' => string '->' (length=2)
  64 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Middleware/NormalizedParamsAttribute.php' (length=88)
      'line' => int 41
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  65 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute' (length=51)
      'type' => string '->' (length=2)
  66 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Middleware/VerifyHostHeader.php' (length=79)
      'line' => int 55
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  67 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 162
      'function' => string 'process' (length=7)
      'class' => string 'TYPO3\CMS\Core\Middleware\VerifyHostHeader' (length=42)
      'type' => string '->' (length=2)
  68 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php' (length=77)
      'line' => int 70
      'function' => string 'handle' (length=6)
      'class' => string 'Psr\Http\Server\RequestHandlerInterface@anonymous�/var/www/html/app/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$52' (length=134)
      'type' => string '->' (length=2)
  69 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/AbstractApplication.php' (length=76)
      'line' => int 87
      'function' => string 'handle' (length=6)
      'class' => string 'TYPO3\CMS\Core\Http\MiddlewareDispatcher' (length=40)
      'type' => string '->' (length=2)
  70 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-backend/Classes/Http/Application.php' (length=71)
      'line' => int 58
      'function' => string 'handle' (length=6)
      'class' => string 'TYPO3\CMS\Core\Http\AbstractApplication' (length=39)
      'type' => string '->' (length=2)
  71 => 
    array (size=5)
      'file' => string '/var/www/html/app/vendor/typo3/cms-core/Classes/Http/AbstractApplication.php' (length=76)
      'line' => int 110
      'function' => string 'handle' (length=6)
      'class' => string 'TYPO3\CMS\Backend\Http\Application' (length=34)
      'type' => string '->' (length=2)
  72 => 
    array (size=5)
      'file' => string '/var/www/html/app/public/typo3/index.php' (length=40)
      'line' => int 20
      'function' => string 'run' (length=3)
      'class' => string 'TYPO3\CMS\Core\Http\AbstractApplication' (length=39)
      'type' => string '->' (length=2)
  73 => 
    array (size=3)
      'file' => string '/var/www/html/app/public/typo3/index.php' (length=40)
      'line' => int 21
      'function' => string '{closure}' (length=9)
@schliesser schliesser changed the title [BUG] Please add a speaking title [BUG] Undefined array key "SERVER_NAME" on save when default language is disabled for page Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant