#0 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling() #1 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Template.php(390): Twig\Template->display() #2 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Extension/CoreExtension.php(1290): Twig\Template->render() #3 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Environment.php(418) : eval()'d code(710): twig_include() #4 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Template.php(405): __TwigTemplate_604f21f4961bdf846178afacaeb2cda290b7afdf9f793b65c989a9d0fb969f7b->doDisplay() #5 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling() #6 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Environment.php(418) : eval()'d code(44): Twig\Template->display() #7 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Template.php(405): __TwigTemplate_260e3394bab8a7652a6dd3047f62f23fbac7fac6b20b7afca8b4b5a93b1b5e8d->doDisplay() #8 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling() #9 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Environment.php(418) : eval()'d code(42): Twig\Template->display() #10 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Template.php(405): __TwigTemplate_12dc9017810d51be42aac81657c5e09d4a5c5d6a6fa98ebc35c7bc844eedfb58->doDisplay() #11 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling() #12 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Template.php(390): Twig\Template->display() #13 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/TemplateWrapper.php(45): Twig\Template->render() #14 /var/www/dev-priyantha.gptoday.net/public_html/vendor/twig/twig/src/Environment.php(318): Twig\TemplateWrapper->render() #15 /var/www/dev-priyantha.gptoday.net/public_html/app/Services/ViewRenderer/TwigRenderer.php(115): Twig\Environment->render() #16 /var/www/dev-priyantha.gptoday.net/public_html/app/ViewTrait.php(98): F1T\Services\ViewRenderer\TwigRenderer->render() #17 /var/www/dev-priyantha.gptoday.net/public_html/app/ViewTrait.php(79): F1T\Controllers\BaseController->renderViewFile() #18 /var/www/dev-priyantha.gptoday.net/public_html/app/website.php(261): F1T\Controllers\BaseController->render() #19 /var/www/dev-priyantha.gptoday.net/public_html/index.php(11): require_once('...') #20 {main}
An exception has been thrown during the rendering of a template ("Connection refused").
object(stdClass)#132 (13) { ["__CLASS__"]=> string(23) "Twig\Error\RuntimeError" ["lineno:Twig\Error\Error:private"]=> int(162) ["name:Twig\Error\Error:private"]=> string(21) "structure/header.twig" ["rawMessage:Twig\Error\Error:private"]=> string(87) "An exception has been thrown during the rendering of a template ("Connection refused")." ["sourcePath:Twig\Error\Error:private"]=> string(82) "/var/www/dev-priyantha.gptoday.net/public_html/views/gptoday/structure/header.twig" ["sourceCode:Twig\Error\Error:private"]=> string(18561) "{# {% if not _user.isLoggedIn() %}{% endif %} {% if not _user.isLoggedIn() %}{% endif %} {% if _user.isLoggedIn() %} {{ _user.getNotificationCount() }} {% endif %} #} {% if _user.isLoggedIn() %} {#gptoday.net #} Mijn account {{ _user.getUserName() }} {{ _user.getEmail() }} {{ 'My profile'|trans }} {{ 'Settings'|trans }} {#{{ 'Premium member'|trans }}#} {#{{ 'Help'|trans }}#} {{ 'Logout'|trans }} gptoday.net {##} {##} {##} {##} {##} {##} {{ 'Notifications'|trans }} Esc {% for notification in get_notification_list(_user) %} {{ i8n_date(notification.getCreateDate(), 'd-m-Y') }} {% set title = notification.getArticle().title|replace({ (''): '' }) %} {% set title = title|replace({ (''): '' }) %} {% set title = title|replace({ (''): '' }) %} {% set title = title|replace({ (''): '' }) %} {% set title = title|replace({ (''): '' }) %} {% set title = title|replace({ (''): '' }) %} {% set title = title|replace({ (''): '' }) %} {% set title = title|replace({ (''): '' }) %} {{ title }} {% if notification.getNotificationType().getNotificationTypeId() == constant('F1T\\Entities\\NotificationTypes::Notification_RepliesToCommentThread') %} {{ 'User %s has added a comment to your thread'|trans|format(notification.getPerformerUser().getUsername()) }} {% elseif notification.getNotificationType().getNotificationTypeId() == constant('F1T\\Entities\\NotificationTypes::Notification_RepliesToMyComment') %} {{ '%s has responded to your comment'|trans|format(notification.getPerformerUser().getUsername()) }} '{{ notification.getComment().getParent().getContent()|striptags|truncate(200, true, '...') }}' {% elseif notification.getNotificationType().getNotificationTypeId() == constant('F1T\\Entities\\NotificationTypes::Notification_VotesOnMyComment') %} {{ 'You have %s of likes on your comment'|trans|format(notification.getComment().getCommentVotes()) }} '{{ notification.getComment().getContent()|striptags|truncate(200, true, '...') }}' {% endif %} {% endfor %} {% endif %} gptoday.net {% if not _user.isLoggedIn() %}{% endif %} {% if not _user.isLoggedIn() %}{% endif %} {% if _user.isLoggedIn() %} {{ _user.getNotificationCount() }} {% endif %} {{ 'News'|trans }} · {{ 'Formula %s'|trans|format('1') }} · {{ 'Formula %s'|trans|format('2') }} · {{ 'Formula %s'|trans|format('3') }} · {{ 'Formula %s'|trans|format('E') }} · IndyCar · DTM · WEC · {{ 'News archive'|trans }} {% set submenuItems = getLandingPageRepo().getSubmenuItems() %} {% if submenuItems is not empty %} {{ constant('SITE_LANG') == 'nl' ? 'Max Verstappen' : 'Lewis Hamilton' }} {% for landingPage in submenuItems %} · {{landingPage.getSubMenuItemLabel()}} {% endfor %} {% else %} {{ constant('SITE_LANG') == 'nl' ? 'Max Verstappen' : 'Lewis Hamilton' }} {% endif %} {% set header_drivers_array = get_header_drivers_array() %} {% if header_drivers_array is empty %} {{ 'Drivers'|trans }} {% else %} {{ 'Drivers'|trans }} {% for driver in header_drivers_array %} · {{ driver.getFullName() }} {% endfor %} · {{ 'All drivers'|trans }} {% endif %} {{ 'Teams'|trans }} {{ 'Results'|trans }} {{ 'Calendar'|trans }} · {{ 'Races'|trans }} · {{ 'Test sessions'|trans }} {{ 'Photos'|trans }} {% if search_autocomplete_url is defined %} {% endif %} {% if _user.isLoggedIn() %} {{ _user.getNotificationCount() }} {% endif %} {% if _user.isLoggedIn() %} {{ _user.getUserName() }} {{ _user.getUserName() }} {{ _user.getEmail() }} {{ 'My profile'|trans }} {{ 'Settings'|trans }} {#{{ 'Premium member'|trans }}#} {#{{ 'Help'|trans }}#} {{ 'Logout'|trans }} {% else %} {{ 'Login'|trans }} {{ 'Sign Up'|trans }} {% endif %} {% for lang in getAllLanguages() %} {{ lang.getLongName()|trans }} {% endfor %} {% if _user.isLoggedIn() %} {{ 'My account'|trans }}: {{ _user.getUserName() }} {{ 'My profile'|trans }} {{ 'Settings'|trans }} {% endif %} {{ 'Language'|trans }}: {{ constant('SITE_LANG') }} {% for lang in getAllLanguages() %} {{ lang.getLongName()|trans }} {% endfor %} {% if _user.isLoggedIn() %} {{ 'Logout'|trans }} {% else %} {{ 'Login'|trans }} {% endif %} {##} {#% if search_autocomplete_url is defined and (current_page=='search' or not is_mobile())%#} {% if search_autocomplete_url is defined %} {{ 'Search'|trans }} {% endif %} {{ 'News'|trans }} F1 {{ 'Season'|trans }} {{ 'now'|date('Y') }} F1 {{ 'Standings' | trans }} {{ 'now'|date('Y') }} " ["message:protected"]=> string(87) "An exception has been thrown during the rendering of a template ("Connection refused")." ["string:Exception:private"]=> string(0) "" ["code:protected"]=> int(0) ["file:protected"]=> string(82) "/var/www/dev-priyantha.gptoday.net/public_html/views/gptoday/structure/header.twig" ["line:protected"]=> int(162) ["trace:Exception:private"]=> array(20) { [0]=> string(8) "Array(5)" [1]=> string(8) "Array(5)" [2]=> string(8) "Array(5)" [3]=> string(8) "Array(3)" [4]=> string(8) "Array(5)" [5]=> string(8) "Array(5)" [6]=> string(8) "Array(5)" [7]=> string(8) "Array(5)" [8]=> string(8) "Array(5)" [9]=> string(8) "Array(5)" [10]=> string(8) "Array(5)" [11]=> string(8) "Array(5)" [12]=> string(8) "Array(5)" [13]=> string(8) "Array(5)" [14]=> string(8) "Array(5)" [15]=> string(8) "Array(5)" [16]=> string(8) "Array(5)" [17]=> string(8) "Array(5)" [18]=> string(8) "Array(5)" [19]=> string(8) "Array(4)" } ["previous:Exception:private"]=> object(stdClass)#113 (8) { ["__CLASS__"]=> string(14) "RedisException" ["message:protected"]=> string(18) "Connection refused" ["string:Exception:private"]=> string(0) "" ["code:protected"]=> int(0) ["file:protected"]=> string(69) "/var/www/dev-priyantha.gptoday.net/public_html/app/Services/Cache.php" ["line:protected"]=> int(41) ["trace:Exception:private"]=> string(9) "Array(25)" ["previous:Exception:private"]=> NULL } }
Total queries: 1 | ||||||
Total time: 2.8506588935852 | ||||||
time | sincestart | caller | annotate | bt | desc | |
0.455566 | instantiate query log (0Q - total module time: 0.08524418s) | "" | ||||
0.540821 | boot (0Q - total module time: 0.01448488s) | "" | ||||
0.555318 | translation-init (1Q - total module time: 0.06508303s) | "" | ||||
0.00007486 | 0.620306 | /var/www/dev-priyantha.gptoday.net/public_html/index.php | /var/www/dev-priyantha.gptoday.net/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:189(stopQuery) /var/www/dev-priyantha.gptoday.net/public_html/app/Repository/Redirect.php:105(execute) /var/www/dev-priyantha.gptoday.net/public_html/app/Entities/Redirect.php:112(findByOrigin) /var/www/dev-priyantha.gptoday.net/public_html/app/Services/Redirects.php:108(getRedirectOrFalse) /var/www/dev-priyantha.gptoday.net/public_html/app/Router.php:115(checkForDBRedirects) /var/www/dev-priyantha.gptoday.net/public_html/app/website.php:260(execute) /var/www/dev-priyantha.gptoday.net/public_html/index.php:11(require_once) |
SELECT
redirects.id,
redirects.origin,
redirects.referer
FROM
redirects
WHERE
redirects.origin = :origin
ORDER BY
id
| {"origin":"\/en\/member\/login"} | |
0.620412 | controller::member/login (0Q - total module time: 2.23023510s) | "" | ||||
2.850656 | done | "" |