• igbayram

    (@igbayram)


    It took me a while to find the problem so I am writing it here for the info.

    When active, Cloudflare’s “Auto Minify Javascript” brokes the Youtube Channel Gallery’s next button on showing playlists with following errors:

    Warning: Invalid argument supplied for foreach() in /bla_bla_bla/wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 280

    Warning: Division by zero in /bla_bla_bla/wp-content/plugins/youtube-channel-gallery/templates/thumbs.php on line 127

    If you encounter the error just disable the auto minify Javascript setting on Cloudflare or whatever CDN you are using

    https://www.ads-software.com/plugins/youtube-channel-gallery/

  • The topic ‘Cloudflare's minify brokes script (youtube-channel-gallery.php on line 280)’ is closed to new replies.