call_user_func_array() expects parameter 1 to be a valid callback, class 'Google\Client' does not have a method 'getVideoInfo'

I'm working with the Alaout and Dawson package, when I get the information, I get this error. I have tried to shorten the Facades but I still can't figure it out. Here is the controller with the function

class VideoController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$videos = Youtube::getVideoInfo('YbIkHQVpDJ8');
return view('content.videoindex', compact('videos'));
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3s91wCA
via IFTTT

تعليقات

المشاركات الشائعة من هذه المدونة

How to Create Treeview with Bootstrap and jQuery

jQuery Datatables with PHP, MySQL and AJAX Example

How to Add Images to Dropdown List using jQuery