Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

CurlClient.php:203 Stack trace: #0 line 308 #438

Open
landogz opened this issue Apr 4, 2020 · 2 comments
Open

CurlClient.php:203 Stack trace: #0 line 308 #438

landogz opened this issue Apr 4, 2020 · 2 comments

Comments

@landogz
Copy link

landogz commented Apr 4, 2020

Description

Notice: Undefined index: url in C:\xampp\htdocs\new\Nerdz\YouTube-Downloader\src\Provider\Youtube\VideoInfo.php on line 308

Fatal error: Uncaught Exception in C:\xampp\htdocs\new\Nerdz\YouTube-Downloader\src\Http\CurlClient.php:203 Stack trace: #0 C:\xampp\htdocs\new\Nerdz\YouTube-Downloader\src\Http\CurlClient.php(113): YoutubeDownloader\Http\CurlClient->getHttpResponseFromCurl(Resource id #52, Array) #1 C:\xampp\htdocs\new\Nerdz\YouTube-Downloader\src\Http\CurlClient.php(76): YoutubeDownloader\Http\CurlClient->sendRequest(Object(YoutubeDownloader\Http\Request)) #2 C:\xampp\htdocs\new\Nerdz\YouTube-Downloader\src\Application\ControllerAbstract.php(105): YoutubeDownloader\Http\CurlClient->send(Object(YoutubeDownloader\Http\Request), Array) #3 C:\xampp\htdocs\new\Nerdz\YouTube-Downloader\src\Application\ResultController.php(174): YoutubeDownloader\Application\ControllerAbstract->getSize('', Object(YoutubeDownloader\Config), Object(YoutubeDownloader\Toolkit)) #4 C:\xampp\htdocs\new\Nerdz\YouTube-Downloader\src\Application\App.php(83): YoutubeDownloader\Application\ResultController->execute() #5 C:\xampp\htdocs\new\Nerdz\YouTube-Downloader\getvid in C:\xampp\htdocs\new\Nerdz\YouTube-Downloader\src\Http\CurlClient.php on line 206

Steps to Reproduce

Please include the direct URL to the YouTube video.
https://www.youtube.com/watch?v=5hohVI0i1ZE

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: Error Catcher

Actual behavior: Program Down

Version

Youtube Downloader 0.11-dev is licensed under GPL 2.

Additional Information

XAMPP - localhost
WIndows 10

Capture

@socialAPIS
Copy link

I fixed the url error, but i cant fix the curl error.

Should i change the complete site behavior and create a pull request?

Here is the error trace

( ! ) Fatal error: Uncaught Exception in YouTube-Downloader\src\Http\CurlClient.php on line 208

1 | 0.0043 | 360312 | {main}( ) | ...\getvideo.php:0
2 | 0.0268 | 557680 | YoutubeDownloader\Application\App->runWithRoute( ) | ...\getvideo.php:23
3 | 0.0288 | 665768 | YoutubeDownloader\Application\ResultController->execute( ) | ...\App.php:83
4 | 1.6719 | 1219408 | YoutubeDownloader\Application\ResultController->getSize( ) | ...\ResultController.php:174
5 | 1.6721 | 1220832 | YoutubeDownloader\Http\CurlClient->send( ) | ...\ControllerAbstract.php:105
6 | 1.6722 | 1221472 | YoutubeDownloader\Http\CurlClient->sendRequest( ) | ...\CurlClient.php:76
7 | 1.6722 | 1222384 | YoutubeDownloader\Http\CurlClient->getHttpResponseFromCurl( ) | ...\CurlClient.php:113

@IKanekiI12
Copy link

Someone could help me with this problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants