Error 500 Internal Server Error

GET http://www.littlewelshhostingcompany.com/dedicated-servers

Forwarded to ErrorController (4d9503)

ServersController :: dedicated

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\ServersController::dedicated"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app_dedicated_servers"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"0c67f9"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br"
cdn-loop
"cloudflare; loops=1"
cf-connecting-ip
"20.171.207.72"
cf-ipcountry
"US"
cf-ray
"92b6d5943c196e09-PDX"
cf-visitor
"{"scheme":"https"}"
from
"gptbot(at)openai.com"
host
"www.littlewelshhostingcompany.com"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
x-forwarded-for
"20.171.207.72"
x-forwarded-proto
"https"
x-openai-host-hash
"250566061"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 05 Apr 2025 06:02:02 GMT"
vary
"Accept"
x-debug-exception
"Key%20%220%22%20does%20not%20exist%20as%20the%20array%20is%20empty."
x-debug-exception-file
"%2Fhome%2Flwhc%2Fwebsite%2Ftemplates%2Fservers%2Fdedicated.html.twig:98"
x-debug-token
"2fffa7"
x-debug-token-link
"http://www.littlewelshhostingcompany.com/_profiler/4d9503"
x-previous-debug-token
"4d9503"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"081b7eaac0d689116fd9d8951c2a11dd"
DATABASE_URL
"mysql://lwhc_user:E2F1ZW%3FR4V6mzQf)XBTN4)[email protected]:3306/lwhc_db?serverVersion=8.0.32&charset=utf8mb4"
DREAMSCAPE_APIKEY
"7022c68713ec914741ae92262d8bda27"
DREAMSCAPE_APIURL
"https://reseller-api.ds.network"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/home/lwhc/website/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/lwhc/website/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/usr/share/httpd"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CDN_LOOP
"cloudflare; loops=1"
HTTP_CF_CONNECTING_IP
"20.171.207.72"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_RAY
"92b6d5943c196e09-PDX"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"www.littlewelshhostingcompany.com"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
HTTP_X_FORWARDED_FOR
"20.171.207.72"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_OPENAI_HOST_HASH
"250566061"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"Z_DHWhXU4Xs7P0UqLubAQwAAAEE"
REDIRECT_URL
"/dedicated-servers"
REMOTE_ADDR
"104.23.160.126"
REMOTE_PORT
"43618"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1743832922
REQUEST_TIME_FLOAT
1743832922.5068
REQUEST_URI
"/dedicated-servers"
SCRIPT_FILENAME
"/home/lwhc/website/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"88.208.241.49"
SERVER_ADMIN
"root@localhost"
SERVER_NAME
"www.littlewelshhostingcompany.com"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.57 (CentOS Stream) OpenSSL/3.2.2"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,DREAMSCAPE_APIKEY,DREAMSCAPE_APIURL"
UNIQUE_ID
"Z_DHWhXU4Xs7P0UqLubAQwAAAEE"
USER
"apache"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = 4d9503)

Key Value
_controller
"error_controller"
_stopwatch_token
"6bbfae"
exception
Twig\Error\RuntimeError {#526
  #message: "Key "0" does not exist as the array is empty."
  #code: 0
  #file: "/home/lwhc/website/templates/servers/dedicated.html.twig"
  #line: 98
  -lineno: 98
  -name: "servers/dedicated.html.twig"
  -rawMessage: "Key "0" does not exist as the array is empty."
  -sourcePath: "/home/lwhc/website/templates/servers/dedicated.html.twig"
  -sourceCode: """
    {% extends 'core/__skeleton.html.twig' %}\n
    \n
    {% block main %}\n
    \n
        <section id="hostingHeader" class="hosting__heading hosting__heading--full dedicated">\n
            <div class="wrap">\n
                <h1>Dedicated Servers in Wales</h1>\n
                <h2>Powerful & Secure<br><span>Dedicated</span> Servers</h2>\n
                <p>\n
                    Deploy your Dedicated Server within 24 hours.<br>\n
                    Grow your business with security and confidence.\n
                </p>\n
            </div>\n
        </section>\n
        <section id="dedicatedPricing" class="dedicated__pricing">\n
            <div class="wrap">\n
                <div class="dedicated__purchase">\n
                    <div class="dedicated__purchase__options">\n
                        <h3>Choose Your Server</h3>\n
                        <div class="dedicated__slider">\n
                            {% for row in featured %}\n
                                {% if row.isFeatured == true %}\n
                                    <div class="dedicated__slide{% if loop.index == 1 %} active{% endif %}" data-option="dedicated{{ loop.index }}" data-name="{{ row.name }}" data-price="{{ row.sellPrice }}">\n
                                        <div class="dedicated__purchase__row">\n
                                            <div class="dedicated__purchase__icon">\n
                                                {% if row.processorType.name == 'Intel' %}\n
                                                    <img src="{{ asset('assets/img/dedicated/intel-xeon.svg') }}" alt="Intel Xeon Logo" width="50px">\n
                                                {% elseif row.processorType.name == 'AMD' and 'Ryzen' in row.name %}\n
                                                    <img src="{{ asset('assets/img/dedicated/amd-ryzen.png') }}" alt="AMD Ryzen Logo" width="50px">\n
                                                {% else %}\n
                                                    <img src="{{ asset('assets/img/dedicated/amd-epyc.png') }}" alt="AMD EPYC Logo" width="50px">\n
                                                {% endif %}\n
                                            </div>\n
                                            <div class="dedicated__purchase__content">\n
                                                <p><small>{{ row.processorType.name}} Processor</small></p>\n
                                                <h4>{{ row.name }}</h4>\n
                                            </div>\n
                                        </div>\n
                                        <div class="dedicated__purchase__row">\n
                                            <hr>\n
                                        </div>\n
                                        <div class="dedicated__purchase__row">\n
                                            <div class="dedicated__purchase__icon">\n
                                                <i class="fab fa-linux fa-3x"></i>\n
                                            </div>\n
                                            <div class="dedicated__purchase__content">\n
                                                <strong>Latest OS Available</strong><br>\n
                                                <small>CentOS, AlmaLinux, RockyLinux, Debian & Ubuntu</small>\n
                                            </div>\n
                                        </div>\n
                                        <div class="dedicated__purchase__row">\n
                                            <div class="dedicated__purchase__icon">\n
                                                <i class="fas fa-microchip fa-3x"></i>\n
                                            </div>\n
                                            <div class="dedicated__purchase__content">\n
                                                <strong>{{ row.processorType.name ~ " " ~ row.processor }}</strong><br>\n
                                                <small>{{ row.cores }} cores x {{ row.speed }}GHz</small>\n
                                            </div>\n
                                        </div>\n
                                        <div class="dedicated__purchase__row">\n
                                            <div class="dedicated__purchase__icon">\n
                                                <i class="fas fa-memory fa-3x"></i>\n
                                            </div>\n
                                            <div class="dedicated__purchase__content">\n
                                                <strong>{{ row.memory }}GB RAM</strong><br>\n
                                                <small>{{ row.ram }}</small>\n
                                            </div>\n
                                        </div>\n
                                        <div class="dedicated__purchase__row">\n
                                            <div class="dedicated__purchase__icon">\n
                                                <i class="fas fa-hard-drive fa-3x"></i>\n
                                            </div>\n
                                            <div class="dedicated__purchase__content">\n
                                                {% if row.storage >= 1000 %}\n
                                                    <strong>{{ row.storage / 1000 }}TB {{ row.hddType.name }}</strong><br>\n
                                                    <small>(2x {{ row.storage / 1000 }}TB) {{ row.raid }}</small>\n
                                                {% else %}\n
                                                    <strong>{{ row.storage }}GB {{ row.hddType.name }}</strong><br>\n
                                                    <small>(2x {{ row.storage }}GB) {{ row.raid }}</small>\n
                                                {% endif %}\n
                                            </div>\n
                                        </div>\n
                                    </div>\n
                                {% endif %}\n
                            {% endfor %}\n
                        </div>\n
                        <div class="dedicated__slider__actions">\n
                            <button type="button" id="slideLeft" class="button button--slide">\n
                                <i class="fas fa-chevron-left"></i>\n
                            </button>\n
                            <button type="button" id="slideRight" class="button button--slide">\n
                                <i class="fas fa-chevron-right"></i>\n
                            </button>\n
                        </div>\n
                    </div>\n
                    <div class="dedicated__purchase__calculations">\n
                        <p class="dedicated__purchase__calculations__price">\n
                            <span>£{{ featured[0].sellPrice }}</span><small>/month</small>\n
                        </p>\n
                        <p>\n
                            <button type="button" class="button button--green button--full button--xlarge" data-modal="orderModal" data-type="dedicated-hosting" data-value="{{ featured[0].name }}">\n
                                Order Now\n
                            </button>\n
                        </p>\n
                        <hr>\n
                        <p>\n
                            <strong>Includes:</strong> Our Professional Server Management Service. (Plus, a FREE .uk domain\n
                            for lifetime of the server)\n
                        </p>\n
                        <p>\n
                            Ready within 24 hours (usually same day)\n
                        </p>\n
                    </div>\n
                </div>\n
            </div>\n
        </section>\n
        <section class="dedicated-info">\n
            <div class="wrap">\n
                <div class="dedicated-info__content">\n
                    <h2>Dedicated Servers</h2>\n
                    <h3>What Our Dedicated Servers Come With</h3>\n
                    <p>\n
                        Purchase your brand new Dedicated Server for your Welsh Business today with a Local Welsh Hosting\n
                        Company, based in Wales. Why buy with the big guys when you can buy your dedicated server with a\n
                        local Welsh business?\n
                    </p>\n
                </div>\n
                <div class="dedicated-info__box-wrap">\n
                    <div class="dedicated-info__box">\n
                        <i class="fas fa-microchip fa-3x"></i>\n
                        <h4>Intel/AMD Processors</h4>\n
                        <p>\n
                            We use the very best Intel Xeon and AMD Epyc Processors to ensure your server has the power it\n
                            needs to meet the demand of your business.\n
                        </p>\n
                    </div>\n
                    <div class="dedicated-info__box">\n
                        <i class="fas fa-memory fa-3x"></i>\n
                        <h4>Up to 256GB RAM</h4>\n
                        <p>\n
                            Starting at 16GB rising to 256GB of memory, our Dedicated Servers are scalable to your business\n
                            needs. Just pick what you need to make it work.\n
                        </p>\n
                    </div>\n
                    <div class="dedicated-info__box">\n
                        <i class="fas fa-hard-drive fa-3x"></i>\n
                        <h4>NVMe, SSD or HDD Hard Drives</h4>\n
                        <p>\n
                            Choose from 3 different types of Hard Drives to store your files on. We can provide standard HDD\n
                            RAID drives right up to NVMe RAID Drives, up to 4TB in size.\n
                        </p>\n
                    </div>\n
                    <div class="dedicated-info__box">\n
                        <i class="fas fa-ethernet fa-3x"></i>\n
                        <h4>1Gbps Network Speeds</h4>\n
                        <p>\n
                            1 GBit/s applies to public facing connections. Some private networks will be able to connect\n
                            via a 10Gbit/s bandwidth.\n
                        </p>\n
                    </div>\n
                    <div class="dedicated-info__box">\n
                        <box-icon name="terminal" type="solid" size="lg"></box-icon>\n
                        <h4>Full Root Access</h4>\n
                        <p>\n
                            Get complete admin control with root-level access and fully manage your server’s configuration in\n
                            any way you need to for your project.\n
                        </p>\n
                    </div>\n
                    <div class="dedicated-info__box">\n
                        <i class="fab fa-linux fa-3x"></i>\n
                        <h4>Latest Operating Systems</h4>\n
                        <p>\n
                            Our Dedicated Servers have the latest versions of AlmaLinux, CentOS, Rocky Linux, Ubuntu and\n
                            Debian for you to choose from.\n
                        </p>\n
                    </div>\n
                </div>\n
            </div>\n
        </section>\n
    \n
    {% endblock %}
    """
  trace: {
    /home/lwhc/website/templates/servers/dedicated.html.twig:98 {
      Twig\Extension\CoreExtension::getAttribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
      › <p class="dedicated__purchase__calculations__price">    <span>£{{ featured[0].sellPrice }}</span><small>/month</small></p>
    }
    /home/lwhc/website/templates/servers/dedicated.html.twig:98 {
      __TwigTemplate_2d804d3360cd1daaec0ddd0940f649f0->block_main($context, array $blocks = []) …
      › <p class="dedicated__purchase__calculations__price">    <span>£{{ featured[0].sellPrice }}</span><small>/month</small></p>
    }
    /home/lwhc/website/vendor/twig/twig/src/Template.php:430 {
      Twig\Template->yieldBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
      › 
      › foreach ($template->$block($context, $blocks) as $data) {    if (ob_get_length()) {
    }
    /home/lwhc/website/var/cache/dev/twig/68/68e1be1ca12c4d4e4cc69deb603155ba.php:80 {
      __TwigTemplate_88a0e47c6a49edc8dc09636d74a75a24->doDisplay(array $context, array $blocks = []) …
      › yield "        ";yield from $this->unwrap()->yieldBlock('main', $context, $blocks);// line 19
    }
    /home/lwhc/website/vendor/twig/twig/src/Template.php:360 {
      Twig\Template->yield(array $context, array $blocks = []): iterable …
      › 
      › foreach ($this->doDisplay($context, $blocks) as $data) {    if (ob_get_length()) {
    }
    /home/lwhc/website/var/cache/dev/twig/41/416f7efbf773ec868a140848af845d9f.php:49 {
      __TwigTemplate_2d804d3360cd1daaec0ddd0940f649f0->doDisplay(array $context, array $blocks = []) …
      › $this->parent = $this->loadTemplate("core/__skeleton.html.twig", "servers/dedicated.html.twig", 1);yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));}
    /home/lwhc/website/vendor/twig/twig/src/Template.php:360 {
      Twig\Template->yield(array $context, array $blocks = []): iterable …
      › 
      › foreach ($this->doDisplay($context, $blocks) as $data) {    if (ob_get_length()) {
    }
    /home/lwhc/website/vendor/twig/twig/src/Template.php:335 {
      Twig\Template->render(array $context): string …
      › $content = '';foreach ($this->yield($context) as $data) {    $content .= $data;
    }
    /home/lwhc/website/vendor/twig/twig/src/TemplateWrapper.php:38 {
      Twig\TemplateWrapper->render(array $context = []): string …
      › {    return $this->template->render($context);}
    }
    /home/lwhc/website/vendor/twig/twig/src/Environment.php:307 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /home/lwhc/website/vendor/symfony/framework-bundle/Controller/AbstractController.php:242 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView(string $view, array $parameters = []): string …
      › 
      ›     return $this->container->get('twig')->render($view, $parameters);}
    }
    /home/lwhc/website/vendor/symfony/framework-bundle/Controller/AbstractController.php:253 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], Response $response = null): Response …
      › {    $content = $this->renderView($view, $parameters);    $response ??= new Response();
    }
    /home/lwhc/website/src/Controller/ServersController.php:63 {
      App\Controller\ServersController->dedicated(ManagerRegistry $doctrine) …
      › 
      › return $this->render('servers/dedicated.html.twig', [    'data' => $data,
    }
    /home/lwhc/website/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /home/lwhc/website/vendor/symfony/http-kernel/HttpKernel.php:74 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->handleRaw($request, $type);} catch (\Throwable $e) {
    }
    /home/lwhc/website/vendor/symfony/http-kernel/Kernel.php:184 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /home/lwhc/website/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /home/lwhc/website/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/lwhc/website/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/lwhc/website/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#320 …9}