PHP 7.2.x – PHP warning for count()
-
Hi,
Thank you for developing this plugin. During migrating our site to a new server, I came across following PHP warning.
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /pasth/to/the/site/wp-content/plugins/tweet-old-post/inc/core.php on line 65
The old server is on PHP 5.4.x, but the new one is on PHP 7.2.4. I understand that this is related to the following change from PHP 7.2.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP 7.2.x – PHP warning for count()’ is closed to new replies.