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

Contao 4.4 Cron throws error with PHP 7.2 #1217

Closed
TB1234 opened this issue Dec 4, 2017 · 4 comments
Closed

Contao 4.4 Cron throws error with PHP 7.2 #1217

TB1234 opened this issue Dec 4, 2017 · 4 comments
Assignees
Labels
Milestone

Comments

@TB1234
Copy link

TB1234 commented Dec 4, 2017

With PHP 7.2.0 the latest Conto 4.4.8 version throws an error if you call the Contao cron.
Error:

Warning: count(): Parameter must be an array or an object that implements Countable in /home/.../vendor/lexik/maintenance-bundle/Listener/MaintenanceListener.php on line 184

PHP: 7.2.0
Contao: 4.4.8

@Toflar
Copy link
Member

Toflar commented Dec 4, 2017

There are other issues, Contao 4.4 is not yet compatible with php 7.2.
@leofeyer pls update the travis.yml in the hotfix branch to test on 7.2 too :)

@leofeyer
Copy link
Member

leofeyer commented Dec 6, 2017

This has to be fixed in the maintenance bundle. There is a pull request already:

lexik/LexikMaintenanceBundle#74

@leofeyer leofeyer closed this as completed Dec 6, 2017
@leofeyer leofeyer reopened this Dec 6, 2017
@leofeyer leofeyer added this to the 4.4.13 milestone Jan 17, 2018
@leofeyer
Copy link
Member

Version 2.1.3 of the LexikMaintenanceBundle has been released a couple of days ago.

@leofeyer
Copy link
Member

Fixed in contao/manager-bundle@becf997.

@leofeyer leofeyer self-assigned this Jan 22, 2018
@leofeyer leofeyer modified the milestones: 4.4.13, 4.4 May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants