Exceptions
Exception
Twig\Error\ RuntimeError
Show exception properties
Twig\Error\RuntimeError {#3654 -lineno: 53 -rawMessage: "Variable "can_revert" does not exist." -source: Twig\Source {#3682 -code: """ {# templates/approval/_action_buttons.html.twig #}\r\n \r\n {% if entity.approvalStatus == 'draft' %}\r\n <form method="post" action="{{ path('app_approval_submit', { moduleType: module_type, id: entity.id }) }}" class="d-inline-block ml-2">\r\n <input type="hidden" name="_token" value="{{ csrf_token('approval_submit') }}">\r\n <button type="submit" class="btn btn-primary btn-sm" onclick="return confirm('Submit for approval?')">\r\n <i class="fa fa-paper-plane"></i> Submit\r\n </button>\r\n </form>\r\n {% endif %}\r\n \r\n {% if entity.approvalStatus == 'pending' and can_approve %}\r\n \r\n {% set step_labels = {\r\n 'checked': { btn: 'Mark as Checked', icon: 'fa-check', color: 'btn btn-info' },\r\n 'verified': { btn: 'Mark as Verified', icon: 'fa-check', color: 'btn btn-primary' },\r\n 'approved': { btn: 'Mark as Approved', icon: 'fa-check', color: 'btn btn-success' },\r\n } %}\r\n \r\n {% set current = step_labels[entity.currentStepName] ?? { btn: 'Approve', icon: 'fa-check', color: 'btn-success' } %}\r\n \r\n <form method="post" action="{{ path('app_approval_approve', { moduleType: module_type, id: entity.id }) }}" class="d-inline-block ml-1">\r\n <input type="hidden" name="_token" value="{{ csrf_token('approval_approve') }}">\r\n <button type="submit" class="{{ current.color }} btn-sm" onclick="return confirm('{{ current.btn }}?')">\r\n <i class="fa {{ current.icon }}"></i> {{ current.btn }}\r\n </button>\r\n </form>\r\n \r\n <form method="post" action="{{ path('app_approval_sendback', { moduleType: module_type, id: entity.id }) }}" class="d-inline-block ml-1">\r\n <input type="hidden" name="_token" value="{{ csrf_token('approval_return') }}">\r\n <button type="submit" class="btn btn-warning btn-sm" onclick="return confirm('Send back to previous step?')">\r\n <i class="fa fa-undo"></i> Send Back\r\n </button>\r\n </form>\r\n \r\n <form method="post" action="{{ path('app_approval_reject', { moduleType: module_type, id: entity.id }) }}" class="d-inline-block ml-1">\r\n <input type="hidden" name="_token" value="{{ csrf_token('approval_reject') }}">\r\n <button type="submit" class="btn btn-danger btn-sm" onclick="return confirm('Reject this record?')">\r\n <i class="fa fa-times"></i> Reject\r\n </button>\r\n </form>\r\n {% endif %}\r\n \r\n {% if entity.approvalStatus == 'rejected' %}\r\n <form method="post" action="{{ path('app_approval_submit', { moduleType: module_type, id: entity.id }) }}" class="d-inline-block ml-2">\r\n <input type="hidden" name="_token" value="{{ csrf_token('approval_submit') }}">\r\n <button type="submit" class="btn btn-primary btn-sm" onclick="return confirm('Resubmit for approval?')">\r\n <i class="fa fa-redo"></i> Resubmit\r\n </button>\r\n </form>\r\n {% endif %}\r\n \r\n {% if entity.approvalStatus == 'approved' and can_revert %}\r\n <form method="post" action="{{ path('app_approval_revert', { moduleType: module_type, id: entity.id }) }}" class="d-inline-block ml-1">\r\n <input type="hidden" name="_token" value="{{ csrf_token('approval_revert') }}">\r\n <button type="submit" class="btn btn-warning btn-sm" onclick="return confirm('Send back to previous step?')">\r\n <i class="fa fa-undo"></i> Revert\r\n </button>\r\n </form>\r\n {% endif %} """ -name: "approval/_action_buttons.html.twig" -path: "/home/aixgrfev/public_html/templates/approval/_action_buttons.html.twig" } -phpFile: "/home/aixgrfev/public_html/var/cache/dev/twig/34/3465700e850022d7f05640fbae92b8ae.php" -phpLine: 156 }
in
templates/approval/_action_buttons.html.twig
(line 53)
<i class="fa fa-redo"></i> Resubmit</button></form>{% endif %}{% if entity.approvalStatus == 'approved' and can_revert %}<form method="post" action="{{ path('app_approval_revert', { moduleType: module_type, id: entity.id }) }}" class="d-inline-block ml-1"><input type="hidden" name="_token" value="{{ csrf_token('approval_revert') }}"><button type="submit" class="btn btn-warning btn-sm" onclick="return confirm('Send back to previous step?')"><i class="fa fa-undo"></i> Revert</button>
in
var/cache/dev/twig/34/3465700e850022d7f05640fbae92b8ae.php
->
{closure}
(line 156)
}// line 52yield "";// line 53if (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 53, $this->source); })()), "approvalStatus", [], "any", false, false, false, 53) == "approved") && (isset($context["can_revert"]) || array_key_exists("can_revert", $context) ? $context["can_revert"] : (function () { throw new RuntimeError('Variable "can_revert" does not exist.', 53, $this->source); })()))) {// line 54yield " <form method=\"post\" action=\"";yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_approval_revert", ["moduleType" => (isset($context["module_type"]) || array_key_exists("module_type", $context) ? $context["module_type"] : (function () { throw new RuntimeError('Variable "module_type" does not exist.', 54, $this->source); })()), "id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 54, $this->source); })()), "id", [], "any", false, false, false, 54)]), "html", null, true);yield "\" class=\"d-inline-block ml-1\"><input type=\"hidden\" name=\"_token\" value=\"";
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 411)
$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {$this->ensureSecurityChecked();yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
vendor/twig/twig/src/Template.php
->
yield
(line 366)
return $this->blocks;}public function display(array $context, array $blocks = []): void{foreach ($this->yield($context, $blocks) as $data) {echo $data;}}public function render(array $context): string
in
vendor/twig/twig/src/Template.php
->
display
(line 381)
ob_start();} else {ob_start(static function () { return ''; });}try {$this->display($context);} catch (\Throwable $e) {while (ob_get_level() > $level) {ob_end_clean();}
in
vendor/twig/twig/src/TemplateWrapper.php
->
render
(line 51)
yield from $this->template->yieldBlock($name, $context);}public function render(array $context = []): string{return $this->template->render($context);}/*** @return void*/
in
vendor/twig/twig/src/Extension/CoreExtension.php
->
render
(line 1522)
}return '';}return $loaded->render($variables);} finally {if ($isSandboxed && !$alreadySandboxed) {$sandbox->disableSandbox();}}
in
var/cache/dev/twig/13/13e76705afce30703aa59184609f32a5.php
::
include
(line 249)
// line 87yield Twig\Extension\CoreExtension::include($this->env, $context, "approval/_status_badge.html.twig", ["entity" => (isset($context["payment_voucher"]) || array_key_exists("payment_voucher", $context) ? $context["payment_voucher"] : (function () { throw new RuntimeError('Variable "payment_voucher" does not exist.', 87, $this->source); })())]);yield "";// line 88yield Twig\Extension\CoreExtension::include($this->env, $context, "approval/_action_buttons.html.twig", ["entity" => // line 89(isset($context["payment_voucher"]) || array_key_exists("payment_voucher", $context) ? $context["payment_voucher"] : (function () { throw new RuntimeError('Variable "payment_voucher" does not exist.', 89, $this->source); })()), "module_type" => "payment_voucher", "can_approve" => // line 91(isset($context["can_approve"]) || array_key_exists("can_approve", $context) ? $context["can_approve"] : (function () { throw new RuntimeError('Variable "can_approve" does not exist.', 91, $this->source); })())]);// line 92yield "</div>
in
vendor/twig/twig/src/Template.php
->
block_body
(line 456)
}if (null !== $template) {try {$template->ensureSecurityChecked();yield from $template->$block($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($template->getSourceContext());}
in
var/cache/dev/twig/0c/0cd4d3528f776a8733bec379e89e020c.php
->
yieldBlock
(line 514)
\t\t\t\t<div class=\"app-main__outer\"><div class=\"app-main__inner\"><!-- Here layout -->";// line 381yield from $this->unwrap()->yieldBlock('body', $context, $blocks);// line 384yield "\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t<!-- Here layout --> \t\t\t\t\t
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 411)
$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {$this->ensureSecurityChecked();yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
var/cache/dev/twig/13/13e76705afce30703aa59184609f32a5.php
->
yield
(line 54)
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "payment_voucher/show.html.twig"));$this->parent = $this->load("template.html.twig", 1);yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 411)
$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {$this->ensureSecurityChecked();yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
vendor/twig/twig/src/Template.php
->
yield
(line 366)
return $this->blocks;}public function display(array $context, array $blocks = []): void{foreach ($this->yield($context, $blocks) as $data) {echo $data;}}public function render(array $context): string
in
vendor/twig/twig/src/Template.php
->
display
(line 381)
ob_start();} else {ob_start(static function () { return ''; });}try {$this->display($context);} catch (\Throwable $e) {while (ob_get_level() > $level) {ob_end_clean();}
in
vendor/twig/twig/src/TemplateWrapper.php
->
render
(line 51)
yield from $this->template->yieldBlock($name, $context);}public function render(array $context = []): string{return $this->template->render($context);}/*** @return void*/
in
vendor/twig/twig/src/Environment.php
->
render
(line 333)
* @throws SyntaxError When an error occurred during compilation* @throws RuntimeError When an error occurred during rendering*/public function render($name, array $context = []): string{return $this->load($name)->render($context);}/*** Displays a template.*
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
render
(line 467)
if (null !== $block) {return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);}return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRenderView
(line 472)
return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);$response ??= new Response();if (200 === $response->getStatusCode()) {foreach ($parameters as $v) {if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRender
(line 284)
* If an invalid form is found in the list of parameters, a 422 status code is returned.* Forms found in parameters are auto-cast to form views.*/protected function render(string $view, array $parameters = [], ?Response $response = null): Response{return $this->doRender($view, null, $parameters, $response, __FUNCTION__);}/*** Renders a block in a view.*
$configs = $entityManager->getRepository(ApprovalWorkflowConfig::class)->findBy(['moduleType' => 'payment_voucher', 'isActive' => true],['level' => 'ASC']);return $this->render('payment_voucher/show.html.twig', ['payment_voucher' => $paymentVoucher,'can_approve' => $approvalService->canUserAct($paymentVoucher, $this->getUser()),'workflow_configs' => $configs,'approval_logs' => $approvalService->getHistory($paymentVoucher),
in
vendor/symfony/http-kernel/HttpKernel.php
->
show
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 193)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 13:01:42 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "04f125"
},
"request_uri": "https://aixgl.com/_profiler/04f125?panel=exception&type=request",
"method": "GET"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.request" to listener "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bridge\\Doctrine\\Middleware\\IdleConnection\\Listener::onKernelRequest"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
|
| INFO 13:01:42 | deprecation |
User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:77 called by App_KernelDevDebugContainer.php:1413, https://github.com/doctrine/orm/pull/10455, package doctrine/orm) {
"exception": {}
}
|
| INFO 13:01:42 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_mysql",
"idle_connection_ttl": 600,
"host": "127.0.0.1",
"port": 3306,
"user": "aixgrfev_erp_user",
"password": "<redacted>",
"driverOptions": [],
"defaultTableOptions": [],
"dbname": "aixgrfev_erp_db",
"serverVersion": "8.0.31",
"charset": "utf8mb4"
}
}
|
| DEBUG 13:01:42 | doctrine |
Executing query: SELECT t0.id AS id_1, t0.name AS name_2, t0.address AS address_3, t0.mobile_no AS mobile_no_4, t0.email AS email_5, t0.fsc AS fsc_6, t0.weight_perkg AS weight_perkg_7, t0.covid_charge_applicable AS covid_charge_applicable_8, t0.weight_perkg_rate AS weight_perkg_rate_9, t0.first_url AS first_url_10, t0.last_url AS last_url_11, t0.logo AS logo_12, t0.created_at AS created_at_13, t0.modified_at AS modified_at_14, t0.rate_type AS rate_type_15, t0.expedite AS expedite_16, t0.sro AS sro_17, t0.sro_charge AS sro_charge_18, t0.zone_rate_type AS zone_rate_type_19, t0.import_zone_rate_type AS import_zone_rate_type_20, t0.import_country_rate_type AS import_country_rate_type_21, t0.export_country_rate AS export_country_rate_22, t0.import_country_rate AS import_country_rate_23, t0.courier_master_rate AS courier_master_rate_24, t0.courier_type AS courier_type_25, t0.master_weight_perkg AS master_weight_perkg_26, t0.master_weight_perkg_rate AS master_weight_perkg_rate_27, t0.created_by_id AS created_by_id_28, t0.modified_by_id AS modified_by_id_29, t0.user_company_id AS user_company_id_30, t0.account_name_id AS account_name_id_31, t0.expense_account_name_id AS expense_account_name_id_32 FROM courier t0 {
"sql": "SELECT t0.id AS id_1, t0.name AS name_2, t0.address AS address_3, t0.mobile_no AS mobile_no_4, t0.email AS email_5, t0.fsc AS fsc_6, t0.weight_perkg AS weight_perkg_7, t0.covid_charge_applicable AS covid_charge_applicable_8, t0.weight_perkg_rate AS weight_perkg_rate_9, t0.first_url AS first_url_10, t0.last_url AS last_url_11, t0.logo AS logo_12, t0.created_at AS created_at_13, t0.modified_at AS modified_at_14, t0.rate_type AS rate_type_15, t0.expedite AS expedite_16, t0.sro AS sro_17, t0.sro_charge AS sro_charge_18, t0.zone_rate_type AS zone_rate_type_19, t0.import_zone_rate_type AS import_zone_rate_type_20, t0.import_country_rate_type AS import_country_rate_type_21, t0.export_country_rate AS export_country_rate_22, t0.import_country_rate AS import_country_rate_23, t0.courier_master_rate AS courier_master_rate_24, t0.courier_type AS courier_type_25, t0.master_weight_perkg AS master_weight_perkg_26, t0.master_weight_perkg_rate AS master_weight_perkg_rate_27, t0.created_by_id AS created_by_id_28, t0.modified_by_id AS modified_by_id_29, t0.user_company_id AS user_company_id_30, t0.account_name_id AS account_name_id_31, t0.expense_account_name_id AS expense_account_name_id_32 FROM courier t0"
}
|
| DEBUG 13:01:42 | doctrine |
Executing query: SELECT count(s0_.id) AS sclr_0 FROM shipment s0_ LEFT JOIN user u1_ ON s0_.created_by_id = u1_.id WHERE s0_.accepted = 0 {
"sql": "SELECT count(s0_.id) AS sclr_0 FROM shipment s0_ LEFT JOIN user u1_ ON s0_.created_by_id = u1_.id WHERE s0_.accepted = 0"
}
|
| DEBUG 13:01:42 | doctrine |
Executing query: SELECT t0.id AS id_1, t0.name AS name_2, t0.step AS step_3 FROM tracking_status t0 {
"sql": "SELECT t0.id AS id_1, t0.name AS name_2, t0.step AS step_3 FROM tracking_status t0"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.controller" to listener "App\Twig\TwigGlobalSubscriber::injectGlobalVariables". {
"event": "kernel.controller",
"listener": "App\\Twig\\TwigGlobalSubscriber::injectGlobalVariables"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\IsSignatureValidAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\IsSignatureValidAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsCsrfTokenValidAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 13:01:42 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
|
| DEBUG 13:01:42 | doctrine |
Executing query: SELECT t0.id AS id_1, t0.name AS name_2, t0.address AS address_3, t0.mobile_no AS mobile_no_4, t0.email AS email_5, t0.fsc AS fsc_6, t0.weight_perkg AS weight_perkg_7, t0.covid_charge_applicable AS covid_charge_applicable_8, t0.weight_perkg_rate AS weight_perkg_rate_9, t0.first_url AS first_url_10, t0.last_url AS last_url_11, t0.logo AS logo_12, t0.created_at AS created_at_13, t0.modified_at AS modified_at_14, t0.rate_type AS rate_type_15, t0.expedite AS expedite_16, t0.sro AS sro_17, t0.sro_charge AS sro_charge_18, t0.zone_rate_type AS zone_rate_type_19, t0.import_zone_rate_type AS import_zone_rate_type_20, t0.import_country_rate_type AS import_country_rate_type_21, t0.export_country_rate AS export_country_rate_22, t0.import_country_rate AS import_country_rate_23, t0.courier_master_rate AS courier_master_rate_24, t0.courier_type AS courier_type_25, t0.master_weight_perkg AS master_weight_perkg_26, t0.master_weight_perkg_rate AS master_weight_perkg_rate_27, t0.created_by_id AS created_by_id_28, t0.modified_by_id AS modified_by_id_29, t0.user_company_id AS user_company_id_30, t0.account_name_id AS account_name_id_31, t0.expense_account_name_id AS expense_account_name_id_32 FROM courier t0 {
"sql": "SELECT t0.id AS id_1, t0.name AS name_2, t0.address AS address_3, t0.mobile_no AS mobile_no_4, t0.email AS email_5, t0.fsc AS fsc_6, t0.weight_perkg AS weight_perkg_7, t0.covid_charge_applicable AS covid_charge_applicable_8, t0.weight_perkg_rate AS weight_perkg_rate_9, t0.first_url AS first_url_10, t0.last_url AS last_url_11, t0.logo AS logo_12, t0.created_at AS created_at_13, t0.modified_at AS modified_at_14, t0.rate_type AS rate_type_15, t0.expedite AS expedite_16, t0.sro AS sro_17, t0.sro_charge AS sro_charge_18, t0.zone_rate_type AS zone_rate_type_19, t0.import_zone_rate_type AS import_zone_rate_type_20, t0.import_country_rate_type AS import_country_rate_type_21, t0.export_country_rate AS export_country_rate_22, t0.import_country_rate AS import_country_rate_23, t0.courier_master_rate AS courier_master_rate_24, t0.courier_type AS courier_type_25, t0.master_weight_perkg AS master_weight_perkg_26, t0.master_weight_perkg_rate AS master_weight_perkg_rate_27, t0.created_by_id AS created_by_id_28, t0.modified_by_id AS modified_by_id_29, t0.user_company_id AS user_company_id_30, t0.account_name_id AS account_name_id_31, t0.expense_account_name_id AS expense_account_name_id_32 FROM courier t0"
}
|
| DEBUG 13:01:42 | doctrine |
Executing query: SELECT count(s0_.id) AS sclr_0 FROM shipment s0_ LEFT JOIN user u1_ ON s0_.created_by_id = u1_.id WHERE s0_.accepted = 0 {
"sql": "SELECT count(s0_.id) AS sclr_0 FROM shipment s0_ LEFT JOIN user u1_ ON s0_.created_by_id = u1_.id WHERE s0_.accepted = 0"
}
|
| DEBUG 13:01:42 | doctrine |
Executing query: SELECT t0.id AS id_1, t0.name AS name_2, t0.step AS step_3 FROM tracking_status t0 {
"sql": "SELECT t0.id AS id_1, t0.name AS name_2, t0.step AS step_3 FROM tracking_status t0"
}
|
| DEBUG 13:01:42 | doctrine |
Executing query: SELECT t0.id AS id_1, t0.name AS name_2, t0.address AS address_3, t0.mobile_no AS mobile_no_4, t0.email AS email_5, t0.fsc AS fsc_6, t0.weight_perkg AS weight_perkg_7, t0.covid_charge_applicable AS covid_charge_applicable_8, t0.weight_perkg_rate AS weight_perkg_rate_9, t0.first_url AS first_url_10, t0.last_url AS last_url_11, t0.logo AS logo_12, t0.created_at AS created_at_13, t0.modified_at AS modified_at_14, t0.rate_type AS rate_type_15, t0.expedite AS expedite_16, t0.sro AS sro_17, t0.sro_charge AS sro_charge_18, t0.zone_rate_type AS zone_rate_type_19, t0.import_zone_rate_type AS import_zone_rate_type_20, t0.import_country_rate_type AS import_country_rate_type_21, t0.export_country_rate AS export_country_rate_22, t0.import_country_rate AS import_country_rate_23, t0.courier_master_rate AS courier_master_rate_24, t0.courier_type AS courier_type_25, t0.master_weight_perkg AS master_weight_perkg_26, t0.master_weight_perkg_rate AS master_weight_perkg_rate_27, t0.created_by_id AS created_by_id_28, t0.modified_by_id AS modified_by_id_29, t0.user_company_id AS user_company_id_30, t0.account_name_id AS account_name_id_31, t0.expense_account_name_id AS expense_account_name_id_32 FROM courier t0 {
"sql": "SELECT t0.id AS id_1, t0.name AS name_2, t0.address AS address_3, t0.mobile_no AS mobile_no_4, t0.email AS email_5, t0.fsc AS fsc_6, t0.weight_perkg AS weight_perkg_7, t0.covid_charge_applicable AS covid_charge_applicable_8, t0.weight_perkg_rate AS weight_perkg_rate_9, t0.first_url AS first_url_10, t0.last_url AS last_url_11, t0.logo AS logo_12, t0.created_at AS created_at_13, t0.modified_at AS modified_at_14, t0.rate_type AS rate_type_15, t0.expedite AS expedite_16, t0.sro AS sro_17, t0.sro_charge AS sro_charge_18, t0.zone_rate_type AS zone_rate_type_19, t0.import_zone_rate_type AS import_zone_rate_type_20, t0.import_country_rate_type AS import_country_rate_type_21, t0.export_country_rate AS export_country_rate_22, t0.import_country_rate AS import_country_rate_23, t0.courier_master_rate AS courier_master_rate_24, t0.courier_type AS courier_type_25, t0.master_weight_perkg AS master_weight_perkg_26, t0.master_weight_perkg_rate AS master_weight_perkg_rate_27, t0.created_by_id AS created_by_id_28, t0.modified_by_id AS modified_by_id_29, t0.user_company_id AS user_company_id_30, t0.account_name_id AS account_name_id_31, t0.expense_account_name_id AS expense_account_name_id_32 FROM courier t0"
}
|
| DEBUG 13:01:42 | doctrine |
Executing query: SELECT count(s0_.id) AS sclr_0 FROM shipment s0_ LEFT JOIN user u1_ ON s0_.created_by_id = u1_.id WHERE s0_.accepted = 0 {
"sql": "SELECT count(s0_.id) AS sclr_0 FROM shipment s0_ LEFT JOIN user u1_ ON s0_.created_by_id = u1_.id WHERE s0_.accepted = 0"
}
|
| DEBUG 13:01:42 | doctrine |
Executing query: SELECT t0.id AS id_1, t0.name AS name_2, t0.step AS step_3 FROM tracking_status t0 {
"sql": "SELECT t0.id AS id_1, t0.name AS name_2, t0.step AS step_3 FROM tracking_status t0"
}
|
Stack Trace
|
RuntimeError
|
|---|
Twig\Error\RuntimeError:
Variable "can_revert" does not exist in "approval/_action_buttons.html.twig" at line 53.
at templates/approval/_action_buttons.html.twig:53
at __TwigTemplate_7d357de74611482810895bf7e44f5d9e->{closure}()
(var/cache/dev/twig/34/3465700e850022d7f05640fbae92b8ae.php:156)
at __TwigTemplate_7d357de74611482810895bf7e44f5d9e->doDisplay()
(vendor/twig/twig/src/Template.php:411)
at Twig\Template->yield()
(vendor/twig/twig/src/Template.php:366)
at Twig\Template->display()
(vendor/twig/twig/src/Template.php:381)
at Twig\Template->render()
(vendor/twig/twig/src/TemplateWrapper.php:51)
at Twig\TemplateWrapper->render()
(vendor/twig/twig/src/Extension/CoreExtension.php:1522)
at Twig\Extension\CoreExtension::include()
(var/cache/dev/twig/13/13e76705afce30703aa59184609f32a5.php:249)
at __TwigTemplate_444756087846c9474bc3b77b2c913739->block_body()
(vendor/twig/twig/src/Template.php:456)
at Twig\Template->yieldBlock()
(var/cache/dev/twig/0c/0cd4d3528f776a8733bec379e89e020c.php:514)
at __TwigTemplate_c65cab50cfaa5da8698048991e647cf1->doDisplay()
(vendor/twig/twig/src/Template.php:411)
at Twig\Template->yield()
(var/cache/dev/twig/13/13e76705afce30703aa59184609f32a5.php:54)
at __TwigTemplate_444756087846c9474bc3b77b2c913739->doDisplay()
(vendor/twig/twig/src/Template.php:411)
at Twig\Template->yield()
(vendor/twig/twig/src/Template.php:366)
at Twig\Template->display()
(vendor/twig/twig/src/Template.php:381)
at Twig\Template->render()
(vendor/twig/twig/src/TemplateWrapper.php:51)
at Twig\TemplateWrapper->render()
(vendor/twig/twig/src/Environment.php:333)
at Twig\Environment->render()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:467)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:472)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:284)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
(src/Controller/PaymentVoucherController.php:133)
at App\Controller\PaymentVoucherController->show()
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:193)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/home/aixgrfev/public_html/vendor/autoload_runtime.php')
(public/index.php:5)
|