Bluhex / october-youtube

A YouTube plugin for the wonderful Ocotber CMS
5 stars 4 forks source link

Plugin is completely not working for me. #6

Open schallerstudios opened 5 years ago

schallerstudios commented 5 years ago

Good morning,

I was able to successfully install the plugin and set it up according to the instructions. I created a Google Brand, a Youtube Channel and an API key linked to it. I put those into the plugin settings. I uploaded a video and linked some others to a playlist. However, regardless of what I do, no data comes back from Youtube.

To see what I have at present, visit BlackbirdBrigade.com. The Youtube channel is the "Blackbird Channel".

The "Videos" column on the right hand side of the home page is where the gallery should display. I have one manually-embedded video as a place-holder, but nothing comes through the plugin from Youtube.

Any idea what the issue might be?

I have looked into the other Youtube plugins for OctoberCMS, and all of the others cause a 500 Server Error. Yours is the only one, so far, that does not crash my site, so, I'd love to get it working. :)

Thanks!

schallerstudios commented 5 years ago

As I have been poking around the issue, I see the following in the error log: ErrorException: count(): Parameter must be an array or an object that implements Countable in /home/blackbird/public_html/plugins/bluhex/youtube/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:67

The parameters supposedly being sent to Google return a valid JASON response with data when I post the full link in a browser, but continue to to be empty/NULL inside the plugin.

Is the App configured for the Youtube Data API v3?