gpt4 book ai didi

typo3 - 未定义函数 TYPO3\CMS\IndexedSearch\mb_strcut()

转载 作者:行者123 更新时间:2023-12-02 15:12:00 27 4
gpt4 key购买 nike

我正在尝试使用 TYPO3 8.7 创建网页,但是当我转到 Localhost/index.php 时,它显示“糟糕,发生错误”。

我能看到我的网页的唯一方法,显然是通过 TYPO3 后端登录。

这是它在 TYPO3 后台记录的错误:>

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to undefined >function TYPO3\CMS\IndexedSearch\mb_strcut() | Error thrown in file >/var/www/html/typo3_src-8.7.0/typo3/sysext/indexed_search/Classes/Indexer.php in >line 1314. Requested URL: Localhost/index.php

我的第 1314 行是这样的:

$bodyDescription = mb_strcut($bodyDescription, 0, $maxL, 'utf-8');

我对这个很陌生。到目前为止,在这些论坛和其他论坛的帮助下,我已经能够对所有错误进行排序,但不幸的是,我找不到解决这个问题的任何方法。

非常感谢任何帮助。

如果我需要提供一些附加信息,请告诉我。

最佳答案

此错误表示未启用 mbstring php 扩展。你应该安装它,如果你有 Ubuntu,你应该执行

sudo apt-get install php-mbstring

阅读有关此 PHP 扩展安装的更多信息 here

关于typo3 - 未定义函数 TYPO3\CMS\IndexedSearch\mb_strcut(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43292893/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com