alaouy / YouTube

🔥 Laravel PHP Facade/Wrapper for the Youtube Data API
MIT License
778 stars 204 forks source link

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

Closed erxsto closed 2 years ago

erxsto commented 3 years ago

Al momento de dirigirme a mi vista, me salta este error

alaouy commented 3 years ago

@erxsto Can you provide more details on how to reproduce the error?

erxsto commented 3 years ago

In my project, I installed Alaouy & Dawson, one to upload video and the other to view video details. At the moment of uploading the video, it does not mark error. Then when I want to see the details, I get the error I mentioned. I add you how is my function: `<?php namespace App\Http\Controllers;

use Illuminate\Http\Request; use Dawson\Youtube\Facades\Youtube as YoutubeUpload; use Alaouy\Youtube\Facades\Youtube;

class VideoController extends Controller { /**

alaouy commented 2 years ago

@erxsto Did you resolve your issue?