Support » Plugin: Social Feed Gallery » Warning: count(): Parameter must implement Countable

  • Resolved swinggraphics


    If you have the shortcode without any active feeds, you get this warning:

    Warning: count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/insta-gallery/includes/frontend.php on line 122

    The fix is to change get_option('insta_gallery_items') to get_option('insta_gallery_items', [])

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.