• Resolved belialius

    (@belialius)


    I’m using Custom Twitter Feeds to show tweets on website. It all works fine, but I have this warning on top of the widget with twitter feed.

    Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\wordpress\wp-content\plugins\custom-twitter-feeds\inc\CtfFeed.php on line 945

    Using XAMPP with PHP 7.2.1.
    How I can fix this?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey belialius,

    Sorry about this! We will fix this in the next update. In the mean time, go to line 945 in the CtfFeed.php file and change it to this:

    $len = is_array( $this->atts ) ? count( $this->atts ) : 0;

    Let me know if you have more questions!

    – Craig

Viewing 1 replies (of 1 total)

The topic ‘Warning: count(): Parameter must be an array or an object’ is closed to new replies.