TYPO3 Exception 1256475113
Note
Below, the TYPO3 community may have provided additional information or solutions for this exception. However, these may or may not apply to your particular case. If you can provide more information, you should come back here and add your experience and solution steps to this issue once you have resolved it.
General TYPO3 troubleshooting tips can be found in the Troubleshooting section in the menu. You can also ask questions and receive support in the TYPO3 Questions category on talk.typo3.org.
To add your experience, click "Edit on GitHub" above and follow the "Edit on GitHub" workflow. Also check out our tip on Coding Style and reST.
The argument "arguments" was registered with type "array", but is of type "string" in view helper
This problem is related to the use of an extended Fluid syntax like this:
<a href="{be:moduleLink(route:'system_reports',arguments:{action:'detail', extension:extensionKey, report:reportName})}">
In some versions of PHP, there is a PCRE bug with the underlying
readline
library:
https://github.com/TYPO3/Fluid/commit/865890c3cffaf8d5f6aa44295d42a84a103895ec
A possible fix (for the example above) is to enclose the array arguments with single quotes like that:
<a href="{be:moduleLink(route:'system_reports',arguments:'{action:\'detail\', extension:extensionKey, report:reportName}')}">
This effectively forces Fluid to extract the content of the single quotes with a simpler regular expression instead of a recursive one.
The argument does not follow the Fluid array syntax.
<f:render section="someSection" arguments="foo: {someVariable}" />
Solution:
<f:render section="someSection" arguments="{foo: someVariable}" />
Another possible cause of this error may be a PHP-configuration problem: PHP 7.3.14:
pcre.jit = 1
jit (Just in time compiler) had to be enabled in my installation.