Typo3升级后,无法将空字符串分配给fluidpages\Classes\Provider\PageProvider.php第193行中的字符串偏移量

Typo3升级后,无法将空字符串分配给fluidpages\Classes\Provider\PageProvider.php第193行中的字符串偏移量,php,content-management-system,typo3,typo3-8.x,typo3-extensions,Php,Content Management System,Typo3,Typo3 8.x,Typo3 Extensions,我最近将typo3项目从7.6.24升级到8.7.20。 当我单击后端中试图查看或编辑任何内容元素的任何页面时,它会抛出以下错误: PHP警告:无法在typo3conf\ext\fluidpages\Classes\Provider\PageProvider.PHP第193行中为字符串偏移量分配空字符串 调试了函数getControllerActionFromRecord中的代码,字符串偏移量似乎不是这样 任何有用的线索将不胜感激 我的系统信息: 类型3:8.7.20 Php:7.2 fluid

我最近将typo3项目从7.6.24升级到8.7.20。 当我单击后端中试图查看或编辑任何内容元素的任何页面时,它会抛出以下错误:

PHP警告:无法在typo3conf\ext\fluidpages\Classes\Provider\PageProvider.PHP第193行中为字符串偏移量分配空字符串

调试了函数getControllerActionFromRecord中的代码,字符串偏移量似乎不是这样

任何有用的线索将不胜感激

我的系统信息:

类型3:8.7.20

Php:7.2

fluidpages:4.3.0


flux:9.1.0

只需尝试从函数getControllerActionFromRecord中的ControllerActionName变量中删除{0}

说明:

当你这么做的时候

$parts = explode('->', $action);
$controllerActionName = end($parts);
您很可能会从end$parts返回一个字符串。 请参见此处末尾的文档:

我的经验,在PHP 7.2中的这些偏移错误大部分是C++中的非法类型错误,例如…我有时也会被他们弄糊涂