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 7 Warning count() #23

Open
zonky2 opened this issue May 22, 2018 · 1 comment
Open

PHP 7 Warning count() #23

zonky2 opened this issue May 22, 2018 · 1 comment

Comments

@zonky2
Copy link
Contributor

zonky2 commented May 22, 2018

Warning: count(): Parameter must be an array or an object that implements Countable in composer/vendor/menatwork/clipboard/system/modules/clipboard/classes/ClipboardXml.php on line 174

#0 composer/vendor/menatwork/clipboard/system/modules/clipboard/classes/ClipboardXml.php(174): __error(2, 'count(): Parame...', '/home/www/conta...', 174, Array)
#1 composer/vendor/menatwork/clipboard/system/modules/clipboard/classes/ClipboardXml.php(203): ClipboardXml->hasElements()
#2 composer/vendor/menatwork/clipboard/system/modules/clipboard/classes/ClipboardXml.php(188): ClipboardXml->getFavorite()
#3 system/modules/clipboard/dca/tl_page.php(54): ClipboardXml->hasFavorite()
#4 system/modules/core/library/Contao/DcaLoader.php(91): include('/home/www/conta...')
#5 system/modules/core/library/Contao/Controller.php(1319): Contao\DcaLoader->load(false)
#6 system/modules/core/classes/Backend.php(376): Contao\Controller::loadDataContainer('tl_page')
#7 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('page')
#8 contao/main.php(20): Contao\BackendMain->run()
#9 {main}
@zonky2 zonky2 changed the title PHP 7 Warning PHP 7 Warning count() May 22, 2018
@stefanheimes stefanheimes mentioned this issue Nov 11, 2018
9 tasks
@mandrael
Copy link

You can temporarily deactivate modules and switch source and target site to PHP 5.6. I had no issues then, except all images were missing in the target (because of the use of insert tags, which didn't work).

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