Warning on PHP 7.0.10

Issue #33 resolved
Farid Muradimov created an issue

On PHP 7.0.10:

Uncaught TYPO3 Exception #1: PHP Warning: Declaration of MiniFranske\FsMediaGallery\ViewHelpers\Widget\AbstractWidgetViewHelper::compile($argumentsName, $closureName, &$initializationPhpCode, TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ViewHelperNode $node, TYPO3Fluid\Fluid\Core\Compiler\TemplateCompiler $compiler) should be compatible with TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::compile($argumentsVariableName, $renderChildrenClosureVariableName, &$initializationPhpCode, TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode $syntaxTreeNode, TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler $templateCompiler) in /home/mflab/webdata/d7/htdocs/typo3conf/ext/fs_media_gallery/Classes/ViewHelpers/Widget/AbstractWidgetViewHelper.php line 30 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file /home/mflab/webdata/d7/Vendor/typo3/cms/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 111.

In PHP 5.6.25 all OK.

Comments (6)

  1. Frans Saris repo owner

    @FaridMuradimov what version of the extension are you using? Should be fixed with version 1.3.1 (but see that I didn't publish it to TER yet).

  2. Log in to comment