I am trying to only show a playlist from my Youtube channel and it is not working. I am getting the following error:
Fatal error: Call to a member function get() on null in /home/content/53/3992553/html/31breadoflife/modules/mod_yt_jlex/helper.php on line 88
The channel and video work find, only the playlist ist not working. When I look at the source code, it looks like there could be an error in the syntax:
'url' => 'https://www.googleapis.com/youtube/v3/playlistItems?part='.($params->get("rc_sort","Date")!=" "?"snippet,contentDetails":"contentDetails"). '&playlistId=' .$playlist,
Could you please assist.
Thanks,
Lisa
Fatal error: Call to a member function get() on null in /home/content/53/3992553/html/31breadoflife/modules/mod_yt_jlex/helper.php on line 88
The channel and video work find, only the playlist ist not working. When I look at the source code, it looks like there could be an error in the syntax:
'url' => 'https://www.googleapis.com/youtube/v3/playlistItems?part='.($params->get("rc_sort","Date")!=" "?"snippet,contentDetails":"contentDetails"). '&playlistId=' .$playlist,
Could you please assist.
Thanks,
Lisa