Title: Problems with Version 2.0.0
Last modified: August 30, 2016

---

# Problems with Version 2.0.0

 *  [techwiz.com.au](https://wordpress.org/support/users/techwizcomau/)
 * (@techwizcomau)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/)
 * Just wanted to explain the issues I am having with the latest version of this
   great plugin.
 * 1. I had to manually upload the plugin as it was missing a few files from the
   templates folder. Once I manually uploaded the plugin, the Line 422 error message
   disapeared.
 * 2. Sign up for the YouTube API was pretty simple. Just made sure I Enable the
   YouTube Data API and then added under the credentials area, Public API access
   and chose Server Key. I then copied the API key provided and paster that in the
   widgets area for the YouTube API Key. That fixed that.
 * 3. Now I’ve put in my channel id of UCTifhHi3SSt_om6C3IAay6w which the full link
   is working of [https://www.youtube.com/channel/UCTifhHi3SSt_om6C3IAay6w](https://www.youtube.com/channel/UCTifhHi3SSt_om6C3IAay6w)
   
   Once I input this and check my front page [http://www.techwiz.com.au](http://www.techwiz.com.au)
   I get an error without any number or code and the link simply points to [https://www.youtube.com/channel/](https://www.youtube.com/channel/).
   It’s like the link is not ammending the user id.
 * So it’s still not working for me. I’m looking through the PHP for a solution,
   but haven’t found one yet. If anyone else has an idea, or the developer can shed
   some light on this, that would be great 🙂
 * [https://wordpress.org/plugins/youtube-channel-gallery/](https://wordpress.org/plugins/youtube-channel-gallery/)

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/problems-with-version-200/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problems-with-version-200/page/2/?output_format=md)

 *  Thread Starter [techwiz.com.au](https://wordpress.org/support/users/techwizcomau/)
 * (@techwizcomau)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201266)
 * OK. So playlists work but channel user id doesn’t. For now I’ll use Playlist 
   until the USER ID problem is fixed.
 *  Thread Starter [techwiz.com.au](https://wordpress.org/support/users/techwizcomau/)
 * (@techwizcomau)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201283)
 * Randomly getting this error on the front page too:
 * Fatal error: Cannot use object of type WP_Error as array in /home/techwiz/public_html/
   wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line
   615
 *  [silentauben](https://wordpress.org/support/users/silentauben/)
 * (@silentauben)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201285)
 * It still doesn’t work for me.
    I both tried the server side Api key and the client
   key, and i keep having the error message. i managed to show the error number 
   to track the problem and this is a 403error.
 *  [sreekanth.cool](https://wordpress.org/support/users/sreekanthcool/)
 * (@sreekanthcool)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201290)
 * Hi techwiz.com.au,
 * I am looking all of your posts from the time plugin stopped working. You are 
   really doing a great job by letting us know whats happening. As of now I understand
   that you are some how able to make this work, Could you please share the “youtube-
   channel-gallery.php” and what ever files you made changes to crack this issue.
 * Thank you
 *  [Oxizee](https://wordpress.org/support/users/oxizee/)
 * (@oxizee)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201339)
 * Techwiz what this error stated below. String(158)?
 * string(158) “[https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=UU47XN5bhLTBH5TRFyKaUpKg&maxResults=18&key=youtubeapikey](https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=UU47XN5bhLTBH5TRFyKaUpKg&maxResults=18&key=youtubeapikey)
 * (i removed my api key in the last part)
 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201348)
 * Oxizee, that is not an error, it is the shortcode displaying something that it
   should not be displaying (like debug output).
 *  [newmediamotion](https://wordpress.org/support/users/newmediamotion/)
 * (@newmediamotion)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201349)
 * To fix the string(xxx) error I commented out line 612 of youtube-channel-gallery/
   youtube-channel-gallery.php. The developer must have forgot to remove it after
   testing.
 * `//(var_dump($ytchag_feed_url);`
 *  [helloviki](https://wordpress.org/support/users/helloviki/)
 * (@helloviki)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201350)
 * I’m getting a similar output as “Oxizee” above my main video except it starts
   with:
 * string(152)”[https://www.googleapis.com/youtube/v3/playlistItems](https://www.googleapis.com/youtube/v3/playlistItems)?…
   etc.
 * if it’s not an error, how do we get rid of this? Is this an error in the plug-
   in’s code?
 *  [mrija](https://wordpress.org/support/users/mrija/)
 * (@mrija)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201351)
 * Same problem – How remove a info string?
 * string(167) “[https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=XXX&maxResults=9&key=YYYYY&#8221](https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=XXX&maxResults=9&key=YYYYY&#8221);
 *  [Oxizee](https://wordpress.org/support/users/oxizee/)
 * (@oxizee)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201352)
 * [@newmedia](https://wordpress.org/support/users/newmedia/): That is working for
   now, until the author fixed it. Thanks!
 *  [mr_spock](https://wordpress.org/support/users/mr_spock/)
 * (@mr_spock)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201353)
 * [@newmedia](https://wordpress.org/support/users/newmedia/): Big thanks from me
   too, saved me a bunch of debugging!
 *  [Oxizee](https://wordpress.org/support/users/oxizee/)
 * (@oxizee)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201359)
 * Author uploaded a new version where he removed the debug info. Now only if he
   fixes the select video in player thingy, i am happy.
 *  Thread Starter [techwiz.com.au](https://wordpress.org/support/users/techwizcomau/)
 * (@techwizcomau)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201386)
 * Just letting everyone know, I haven’t really been looking over the code at all,
   but another user discovered a way to get the complete user uploads. The way the
   did it was to change the type to a PLAYLIST and change the UC from he start of
   the channel id to UU. What this does is gives you an automatically generated 
   playlist based on all the channels uploads. My guess is UC stands for User Channel
   and UU stands for User Uploads. That will get everyone started with a Channel
   Uploads list anyway. From what I can see in the code though, the issue could 
   lie around the following code:
 * Line 608 : `$ytchag_link_url = 'https://www.youtube.com/channel/' . $ytchag_id;`
 * Line 616 : `$content= '<div class="vmcerror">' . sprintf( __( 'Message from server:%
   1$s. Check in YouTube if the id <a href="%2$s">%3$s</a> belongs to a %4$s. To
   locate the id of your %4$s check the <a href="http://wordpress.org/extend/plugins/
   youtube-channel-gallery/faq/">FAQ</a> of the plugin.', 'youtube-channel-gallery'),
   $response_message, $ytchag_link_url, $ytchag_user, $ytchag_feed ) . '</div>';`
 * %2$s is the pointer for the variable $ytchag_link_url but when I check the link,
   it doesn’t append the channel id although the variable $ytchag_user does contain
   the channel id. If someone wants to play with it, maybe giving the variable $
   ytchag_link_url the value of $ytchag_user may fix it, but the fix described above
   works for me for the time being. Hope this helps some other people.
 *  [Morbus88](https://wordpress.org/support/users/morbus88/)
 * (@morbus88)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201391)
 * [@techwiz](https://wordpress.org/support/users/techwiz/).com.au
 * I am kind of confused. So for example let’s say i want to use the following Youtube
   Channel for the Plugin: [https://www.youtube.com/user/IGNentertainment](https://www.youtube.com/user/IGNentertainment).
   So i have to change the Video feed type from uploaded by a user(which doesent
   seem to work atm) to Playlist. So far so good. The Channel Name is: IGNentertainment.
   
   Now where exactly do i find that UC & UU that you mentioned? Can you please explain
   it with an example?
 *  Thread Starter [techwiz.com.au](https://wordpress.org/support/users/techwizcomau/)
 * (@techwizcomau)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/#post-6201398)
 * I found the channel id from going to one of their videos and hovering over the
   channel name (IGN). This is what I got.
 * [https://www.youtube.com/channel/UCKy1dAqELo0zrOtPkf0eTMw](https://www.youtube.com/channel/UCKy1dAqELo0zrOtPkf0eTMw)
 * So for this example I would use UUKy1dAqELo0zrOtPkf0eTMw

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/problems-with-version-200/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problems-with-version-200/page/2/?output_format=md)

The topic ‘Problems with Version 2.0.0’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/youtube-channel-gallery_f11a1f.svg)
 * [Youtube Channel Gallery](https://wordpress.org/plugins/youtube-channel-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-channel-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-channel-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-channel-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-channel-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-channel-gallery/reviews/)

 * 19 replies
 * 12 participants
 * Last reply from: [tobi1kanoby](https://wordpress.org/support/users/tobi1kanoby/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/problems-with-version-200/page/2/#post-6201417)
 * Status: not resolved