Bug #43946
closedPHP Catchable Fatal Error (TYPO3, php-fpm, eAccelerator, nginx)
0%
Description
- View page:
PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::setRenderChildrenClosure() must be an instance of Closure, unknown given, called in /usr/local/www/main/htdocs/typo3temp/Cache/Code/fluid_template/Viewpage_ViewModule_layout_DocHeader_b07433e2eae40bc6d1ba7840ee1379045ea18592.php on line 170 and defined in /usr/local/www/typo3/typo3_src-6.0.0/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php line 213@
or
PHP Catchable Fatal Error: Argument 2 passed to TYPO3\CMS\Fluid\ViewHelpers\ForViewHelper::renderStatic() must be an instance of Closure, string given, called in /usr/local/www/typo3/typo3_src-6.0.0/typo3/sysext/fluid/Classes/ViewHelpers/ForViewHelper.php on line 74 and defined in /usr/local/www/typo3/typo3_src-6.0.0/typo3/sysext/fluid/Classes/ViewHelpers/ForViewHelper.php line 83
- Backend users:
PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::setRenderChildrenClosure() must be an instance of Closure, unknown given, called in /usr/local/www/main/htdocs/typo3temp/Cache/Code/fluid_template/Beuser_BackendUser_partial_Filters_BackendUser_Index_9ebc3d881f5a0ad84ec53f1e44b54e0f26b9f893.php on line 600 and defined in /usr/local/www/typo3/typo3_src-6.0.0/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php line 213@
- Language:
PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::setRenderChildrenClosure() must be an instance of Closure, null given, called in /usr/local/www/main/htdocs/typo3temp/Cache/Code/fluid_template/Lang_Language_layout_Default_6719d3c23af10ea9a5179ebc1c1ce76bee6f332e.php on line 53 and defined in /usr/local/www/typo3/typo3_src-6.0.0/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php line 213
- Log:
PHP Catchable Fatal Error: Argument 2 passed to TYPO3\CMS\Fluid\ViewHelpers\ForViewHelper::renderStatic() must be an instance of Closure, null given, called in /usr/local/www/typo3/typo3_src-6.0.0/typo3/sysext/fluid/Classes/ViewHelpers/ForViewHelper.php on line 74 and defined in /usr/local/www/typo3/typo3_src-6.0.0/typo3/sysext/fluid/Classes/ViewHelpers/ForViewHelper.php line 83
- Report:
PHP Catchable Fatal Error: Argument 2 passed to TYPO3\CMS\Fluid\ViewHelpers\ForViewHelper::renderStatic() must be an instance of Closure, unknown given, called in /usr/local/www/typo3/typo3_src-6.0.0/typo3/sysext/fluid/Classes/ViewHelpers/ForViewHelper.php on line 74 and defined in /usr/local/www/typo3/typo3_src-6.0.0/typo3/sysext/fluid/Classes/ViewHelpers/ForViewHelper.php line 83
When you disable eAccelerator error not play
Updated by Tobias Liebig almost 12 years ago
- Status changed from New to Needs Feedback
- Assignee set to Anton
- Complexity set to medium
This might be a general eAccelerator issue with anonymous functions in PHP 5.4.x (see https://github.com/eaccelerator/eaccelerator/issues/12).
Could you test if this minimal test prints NULL or object(Closure):
<?php var_dump(function() { return true; });
If it returns NULL, i think this is no TYPO3 Core, but an eAccelerator issue.
Updated by Tobias Liebig almost 12 years ago
Also, please make sure to use the latest version of eAccelerator. The bug might already be fixed there.
Updated by Anton almost 12 years ago
phpinfo() eAccelerator version 1.0-dev load from http://eaccelerator.net/, last stable.
Updated by Anton almost 12 years ago
Tobias Liebig wrote:
This might be a general eAccelerator issue with anonymous functions in PHP 5.4.x (see https://github.com/eaccelerator/eaccelerator/issues/12).
Could you test if this minimal test prints NULL or object(Closure):
If it returns NULL, i think this is no TYPO3 Core, but an eAccelerator issue.
error_reporting(E_ALL);
var_dump(function() { return true; });
?>
eAcceletator on
return: UNKNOWN:0
eAcceletator off
return: object(Closure)#1 (0) { }
Thank you, Tobias Liebig, then it error report is canceled.
Updated by Anton almost 12 years ago
Running XCache 3.0.0 - works fine, thank you
Updated by Anton almost 12 years ago
Lack of support from eAccelerator hardly bug TYPO3. Change the status to Close please.
Updated by Jigal van Hemert over 11 years ago
- Status changed from Needs Feedback to Closed
Per request of reporter as it's a eAccelerator issue.