Project

General

Profile

Actions

Bug #43946

closed

PHP Catchable Fatal Error (TYPO3, php-fpm, eAccelerator, nginx)

Added by Anton almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Caching
Target version:
-
Start date:
2012-12-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.4
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

When connected to the eAccelerator backend-site when selecting menu items:
  • 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

Actions #1

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.

Actions #2

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.

Actions #3

Updated by Anton almost 12 years ago

phpinfo() eAccelerator version 1.0-dev load from http://eaccelerator.net/, last stable.

Actions #4

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.

Actions #5

Updated by Anton almost 12 years ago

Running XCache 3.0.0 - works fine, thank you

Actions #6

Updated by Anton almost 12 years ago

Lack of support from eAccelerator hardly bug TYPO3. Change the status to Close please.

Actions #7

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.

Actions

Also available in: Atom PDF