if ($lev <= \strlen($id) / 3 || str_contains($knownId, $id)) {
$alternatives[] = $knownId;
}
}
throw new ServiceNotFoundException($id, null, null, $alternatives);
}
return null;
}
*/
public function get(string $id, int $invalidBehavior = /* self::EXCEPTION_ON_INVALID_REFERENCE */ 1)
{
return $this->services[$id]
?? $this->services[$id = $this->aliases[$id] ?? $id]
?? ('service_container' === $id ? $this : ($this->factories[$id] ?? [$this, 'make'])($id, $invalidBehavior));
}
/**
* Creates a service.
*
if (in_array(ValidationModuleEnum::EXTERN, explode(';', ACCOUNT_STATE))) {
$zonesArray = [];
if ($selected) {
$zonesArray[] = ['id' => '', 'text' => '-'];
/** @var FrontendZoneController $fzc */
$countryZones = BaseKernel::container()->get('frontendZoneController')->getZonesForCountry($selected);
foreach ($countryZones as $zone) {
$zonesArray[] = ['id' => $zone['zone_id'], 'text' => $zone['zone_name'] . ' (' . $zone['zone_code'] . ')'];
}
}
$guest_smarty->assign('SELECT_STATE', xtc_draw_pull_down_menuNote(['name' => 'stateSelect', 'text' => ''], $zonesArray, $_SESSION['customer_zone_id'], '') . xtc_draw_hidden_field('useStateSelect', ',' . str_replace(';', ',', ENTRY_STATE_VALIDATION_COUNTRIES) . ','));
# create guest account GMS-60 #
#########################################
// create guest account file start
if ($current_file_loaded != FILENAME_CHECKOUT_SHOP) {
include(DIR_WS_MODULES . 'create_guest_account_process.php');
}
if (!is_object($guest_smarty)) {
$guest_smarty = new Smarty();
}
}
!defined("LANGUAGE_CODE") ? define("LANGUAGE_CODE", $_SESSION["language_code"]) : null;
if ($routingFile !== null && $routingFile !== 'index.php') {
require_once "public/" . $routingFile;
die();
}
use Incert\Frontend\Routing\Router\DomainRouter;
use Incert\Kernel\BaseKernel;
chdir(__DIR__ . "/..");
require_once('includes/application_top.php');
if (isset($_SESSION['customer_id']) && (ConfigurationResolverUtility::isTrue('HAS_ROX_PERMISSION'))) {
if (RoxHelper::isNew()) {
include_once("rox_start.php");
} else {
ServiceNotFoundException
|
---|
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "frontendZoneController". at /var/www/releases/vendor_dev/2025_06_18_15-45-19/symfony/dependency-injection/Container.php:272 at Symfony\Component\DependencyInjection\Container->make('frontendZoneController', 1) (/var/www/releases/vendor_dev/2025_06_18_15-45-19/symfony/dependency-injection/Container.php:220) at Symfony\Component\DependencyInjection\Container->get('frontendZoneController') (/var/www/releases/devp1_1910/current/includes/modules/create_guest_account_process.php:754) at include('/var/www/releases/devp1_1910/current/includes/modules/create_guest_account_process.php') (/var/www/releases/devp1_1910/current/public/login.php:190) at require_once('/var/www/releases/devp1_1910/current/public/login.php') (/var/www/releases/devp1_1910/current/includes/application_top.php:844) at require_once('/var/www/releases/devp1_1910/current/includes/application_top.php') (/var/www/releases/devp1_1910/current/public/index.php:11) |