[User Warning] Missing default for localisation key MainAddress.SearchAddressCity

GET /pl/chorwacja/

Line 174 in /home/yourcityguide/web/oprowadzamy.pl/public_html/vendor/silverstripe/framework/src/i18n/i18n.php

Source

165             if (is_array($arg)) {
166                 $injection = $arg;
167             } elseif (!isset($default)) {
168                 $default = $arg ?: '';
169             }
170         }
171 
172         // Encourage the provision of default values so that text collector can discover new strings
173         if (!$default && i18n::config()->uninherited('missing_default_warning')) {
174             user_error("Missing default for localisation key $entity", E_USER_WARNING);
175         }
176 
177         // Deprecate legacy injection format (`string %s, %d`)
178         // inject the variables from injectionArray (if present)
179         $sprintfArgs = [];
180         if ($default && !preg_match('/\{[\w\d]*\}/i', $default) && preg_match('/%[s,d]/', $default)) {

Trace

ERROR [User Warning]: Couldn't set response type to 500 because of output on line 419 of /home/yourcityguide/web/oprowadzamy.pl/public_html/vendor/silverstripe/framework/src/Control/HTTPResponse.php IN GET /pl/chorwacja/ Line 397 in /home/yourcityguide/web/oprowadzamy.pl/public_html/vendor/silverstripe/framework/src/Control/HTTPResponse.php Source ====== 388: } elseif ($this->getStatusCode() >= 300) { 389: // It's critical that these status codes are sent; we need to report a failure if not. 390: user_error( 391: sprintf( 392: "Couldn't set response type to %d because of output on line %s of %s", 393: $this->getStatusCode(), 394: $line, 395: $file 396: ), * 397: E_USER_WARNING 398: ); 399: } 400: } 401: 402: /** 403: * Output body of this response to the browser Trace ===== user_error(Couldn't set response type to 500 because of output on line 419 of /home/yourcityguide/web/oprowadzamy.pl/public_html/vendor/silverstripe/framework/src/Control/HTTPResponse.php, 512) HTTPResponse.php:397 SilverStripe\Control\HTTPResponse->outputHeaders() HTTPResponse.php:343 SilverStripe\Control\HTTPResponse->output() index.php:26 Chorwacja

Szukaj wycieczki

1 dostępnych tras

Polecane

2 h 50 min
250.00 PLN