gives a warning PHP 7.2
-
In PHP 7.2 this plugin will give a warning some times.
“PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/wp-performance-pack/modules/l10n_improvements/class.wppp_mo_dynamic.php on line 189”
This happens because ‘$this->base_translations’ gets set to NULL on initialization and NULL is not an array or an object that implements Countable.
- The topic ‘gives a warning PHP 7.2’ is closed to new replies.