跳转到主要内容
你行网

Main navigation

  • 首页
  • Drupal
  • 编程与开发
  • 数据库
  • 操作系统与应用
  • 服务器与运维
  • 社区
User account menu
  • 登录

面包屑

  1. 首页
  2. 论坛
  3. Drupal
  4. drupal 问答

drupal9 发布文章出现错误

由 hrs, 8 二月, 2023
论坛
drupal 问答

错误提示如下:

The website encountered an unexpected error. Please try again later. TypeError: Drupal\Core\Entity\EntityRepository::getTranslationFromContext(): Argument #1 ($entity) must be of type Drupal\Core\Entity\EntityInterface, null given, called in /var/www/html/web/core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php on line 198 in Drupal\Core\Entity\EntityRepository->getTranslationFromContext() (line 93 of core/lib/Drupal/Core/Entity/EntityRepository.php). Drupal\Core\Entity\EntityRepository->getTranslationFromContext() (Line: 198) Drupal\statistics\Plugin\Block\StatisticsPopularBlock->nodeTitleList() (Line: 160) Drupal\statistics\Plugin\Block\StatisticsPopularBlock->build() (Line: 171) Drupal\block\BlockViewBuilder::preRender() call_user_func_array() (Line: 101) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 788) Drupal\Core\Render\Renderer->doCallback() (Line: 374) Drupal\Core\Render\Renderer->doRender() (Line: 446) Drupal\Core\Render\Renderer->doRender() (Line: 204) Drupal\Core\Render\Renderer->render() (Line: 479) Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 140) __TwigTemplate_ab776c2e0830e6b1f65c1509e742eec7->doDisplay() (Line: 405) Twig\Template->displayWithErrorHandling() (Line: 378) Twig\Template->display() (Line: 390) Twig\Template->render() (Line: 55) twig_render_template() (Line: 384) Drupal\Core\Theme\ThemeManager->render() (Line: 433) Drupal\Core\Render\Renderer->doRender() (Line: 204) Drupal\Core\Render\Renderer->render() (Line: 479) Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 86) __TwigTemplate_b6a5b85b1227c236aa8615cd0fd2e590->doDisplay() (Line: 405) Twig\Template->displayWithErrorHandling() (Line: 378) Twig\Template->display() (Line: 390) Twig\Template->render() (Line: 55) twig_render_template() (Line: 384) Drupal\Core\Theme\ThemeManager->render() (Line: 433) Drupal\Core\Render\Renderer->doRender() (Line: 204) Drupal\Core\Render\Renderer->render() (Line: 162) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 163) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray() call_user_func() (Line: 142) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 174) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 713) Drupal\Core\DrupalKernel->handle() (Line: 19)

  • 登录或注册以发表评论
  • 48 次浏览

最新文章

  • mysql 签名无效更新报错误问题
  • 网站用户会员积分设计方案
  • Views Bulk Operations (VBO) 这个模块有什么作用,应用场景是什么。
  • 配置一个完整的Web服务器环境(LNMP:Linux + Nginx + MySQL + PHP)。
  • Nginx 各种应用场景
  • 什么是无头cms
  • 什么是站群
  • drupal 10如何配置nginx 服务器
  • nginx 多站点配置方法
  • OpenClaw 帮助文件的翻译版本
更多

标签云

adsenseAIApacheaptbadblocksbreadcrumbbrewcentoscertbotckeditorcommandcomposercookiecsharpCSScurlC语言DDEVdiffdnsdockerDreamweaverDrupaldrupal 7drupal 8drupal 9drupal10drupal 11drushExcelfirewalldfirmwareflameshotformgimpgitgzipHTMLHTML5httpdhttp验证inputipjavaJavaScriptJavaSrciptkernelKVMLinuxmavenmbstringmod_expires 模块MysqlnerdtreenetstatnetworknginxnpmOpenClawpasswordphpphpmyadminphp扩展RFIDRSSselinuxSEOsharesimple_adsensesshsslStatisticssuperfishsurroundtagcloudstitleubuntuuploadprogressViews Bulk OperationsvimVPNVUEweb服务器WireGuardwpsxdebugyoutubeyumzip主题主题(theme)二进制五笔分类术语压缩解压哈希值声音字段密码工作流快捷键摄影无头cms更新权限果树种植标签优化模块模块(module)源地址版本号电子秤电脑基础电脑技巧短信验证积分站群端口简介算法网站备份网站安全网站运营翻译英语表单视图(views)计算机基础赚钱超五类线网线邮件验证重定向重定向,301错误颜色

相关文章

RSS源

关于我们

  • 你行网简介
  • 关于我们
  • 版权声明

网站相关

  • 社区论坛
  • 站点反馈
  • 网址导航
  • 网站地图

友情链接

  • 申请链接
  • 英文学习

友情链接2

  • drupal 大学
  • 水滴间
  • 爱码网
  • Apache

友情链接3

  • MySQL
  • php
  • drupalcode

友情链接4

  • Drupal 中国
  • Drupal 老葛
  • 宁浩网
  • drupal 台湾
Copyright © 2019 - 2021 你行网 版权所有  粤ICP备19072650号-1