You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're experiencing an issue running Cache-Flag in PHP 7.2 which is related to a known issue in Yii: yiisoft/yii#4167.
We have one flag currently set in the CP. When we try to add additional flags beneath it we get the error PHP 7.2: count(): Parameter must be an array or an object that implements Countable and when the page is reloaded the new flag is gone. If we add a flag above the existing one we see the same error but when the page is reloaded the new flag remains.
We have not been able to replicate the issue in PHP 7.1 with the same data store (postgres). There are no errors appearing in the PHP or Web log for Craft.
To Replicate
When running PHP 7.2 add a new flag in the CP.
If that was your first flag, attempt to add a second flag.
You should see the red flash notice (screenshot attached)
Environment Information:
PHP version | 7.2.8
PostgreSQL 9.6.6
Imagick 3.4.3 (ImageMagick 6.7.8-9)
Craft Pro 3.0.25
Yii Version 2.0.15.1
The text was updated successfully, but these errors were encountered:
We're experiencing an issue running Cache-Flag in PHP 7.2 which is related to a known issue in Yii: yiisoft/yii#4167.
We have one flag currently set in the CP. When we try to add additional flags beneath it we get the error
PHP 7.2: count(): Parameter must be an array or an object that implements Countable
and when the page is reloaded the new flag is gone. If we add a flag above the existing one we see the same error but when the page is reloaded the new flag remains.We have not been able to replicate the issue in PHP 7.1 with the same data store (postgres). There are no errors appearing in the PHP or Web log for Craft.
To Replicate
Environment Information:
PHP version | 7.2.8
PostgreSQL 9.6.6
Imagick 3.4.3 (ImageMagick 6.7.8-9)
Craft Pro 3.0.25
Yii Version 2.0.15.1
The text was updated successfully, but these errors were encountered: