त्रुटि संदेश
Notice: Trying to get property 'changed' of non-object in eval() (line 17 of modules/contrib/php/php.module(81) : eval()'d code).eval() (Line: 81) php_eval('<?php $connection = \Drupal::database(); $lupadate="पृष्ठ अंतिम अद्यतन तिथि"; $lang = \Drupal::languageManager()->getCurrentLanguage()->getId(); $nodes = \Drupal::routeMatch()->getParameter('node'); if($nodes!=""){ $nid = $nodes->id(); $sql="SELECT changed FROM `node_field_data` where langcode='".$lang."' and nid=".$nid; } else{ $sql='SELECT changed FROM {node_field_revision} WHERE status=1 ORDER BY changed DESC LIMIT 1'; } $query = $connection->query($sql); $node = $query ->fetchObject(); $date = date('d-m-Y H:i a', $node->changed); return t($lupadate ).' : ' .$date; ?>') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $connection = \Drupal::database(); $lupadate="पृष्ठ अंतिम अद्यतन तिथि"; $lang = \Drupal::languageManager()->getCurrentLanguage()->getId(); $nodes = \Drupal::routeMatch()->getParameter('node'); if($nodes!=""){ $nid = $nodes->id(); $sql="SELECT changed FROM `node_field_data` where langcode='".$lang."' and nid=".$nid; } else{ $sql='SELECT changed FROM {node_field_revision} WHERE status=1 ORDER BY changed DESC LIMIT 1'; } $query = $connection->query($sql); $node = $query ->fetchObject(); $date = date('d-m-Y H:i a', $node->changed); return t($lupadate ).' : ' .$date; ?>', 'hi') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 101) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 772) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 363) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 201) Drupal\Core\Render\Renderer->render(Array) (Line: 479) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 82) __TwigTemplate_d9f9997d7d70308120625ebbc81ffc322faa9c3c4715edc3b349b3ca8d0e5bce->doDisplay(Array, Array) (Line: 405) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378) Twig\Template->display(Array) (Line: 390) Twig\Template->render(Array) (Line: 55) twig_render_template('themes/custom/pdy/templates/field/field.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 422) Drupal\Core\Render\Renderer->doRender(Array) (Line: 435) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 201) Drupal\Core\Render\Renderer->render(Array) (Line: 479) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 82) __TwigTemplate_344355970761cd797d3ae114c64862e3edffc97905fded2e4ca23ca4239dfd7f->block_content(Array, Array) (Line: 182) Twig\Template->displayBlock('content', Array, Array) (Line: 70) __TwigTemplate_344355970761cd797d3ae114c64862e3edffc97905fded2e4ca23ca4239dfd7f->doDisplay(Array, Array) (Line: 405) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378) Twig\Template->display(Array) (Line: 390) Twig\Template->render(Array) (Line: 55) twig_render_template('themes/custom/pdy/templates/block/block.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 422) Drupal\Core\Render\Renderer->doRender(Array) (Line: 435) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 201) Drupal\Core\Render\Renderer->render(Array) (Line: 479) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 185) __TwigTemplate_43438a2c8ffe80427e6bdcf18ea1ccf062672977d6b7474f4a7e768cd58183e7->doDisplay(Array, Array) (Line: 405) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378) Twig\Template->display(Array) (Line: 390) Twig\Template->render(Array) (Line: 55) twig_render_template('themes/custom/pdy/templates/layout/page.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 422) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 201) Drupal\Core\Render\Renderer->render(Array) (Line: 479) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 80) __TwigTemplate_6b82552d486b704ed90b8dcd0dfe7196d0562d6f969493d52cfb5bf3d5c981e9->doDisplay(Array, Array) (Line: 405) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 378) Twig\Template->display(Array) (Line: 390) Twig\Template->render(Array) (Line: 55) twig_render_template('themes/custom/pdy/templates/layout/html.html.twig', Array) (Line: 384) Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 422) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 201) Drupal\Core\Render\Renderer->render(Array) (Line: 162) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 163) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 142) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 163) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
पिछले पृष्ठ पर जाने के लिए
|
पृष्ठ अंतिम अद्यतन तिथि : 01-01-1970 05:30 am