Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Warning: Declaration of ... should be compatible with ... #1110

Closed
marcosalberto opened this issue Apr 1, 2016 · 1 comment
Closed

Comments

@marcosalberto
Copy link

Is there anyone with this problem?

1: PHP Warning: Declaration of FluidTYPO3\Fluidcontent\Hooks\WizardItemsHookSubscriber::applyWhitelist(array $items, array $whitelist) should be compatible with FluidTYPO3\Flux\Hooks\WizardItemsHookSubscriber::applyWhitelist(array $items, $whitelist) in /var/www/html/seven.local/siteroot/typo3conf/ext/fluidcontent/Classes/Hooks/WizardItemsHookSubscriber.php line 22 (More information)

My environment:
PHP 7.0.4
TYPO3 7.6.4

@NamelessCoder
Copy link
Member

Hi @marcosalberto - make sure if you update PHP to 7.0.0 you pick a version of Flux (and all other FluidTYPO3 extensions) which are declared compatible with PHP 7.0.0. At the time of writing this, that means current TER versions of fluidpages and fluidcontent, plus development branch of Flux. Anything else is not compatible with PHP 7.0.0 and above. Updating just one but not the others may cause unresolvable constraints or signature issues.

Note that extension manager may not warn about constraint problems, possibly also constraints on PHP versions, there are known issues with constraints not being applied correctly. If in doubt, check the ext_emconf.php file of the extension you've got installed ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants