-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Notice: Undefined property: stdClass #21
Comments
I think it's because codecourse has new structure with their website. |
Sorry about late answer i'll try to look at it. |
I hope you still want to update this project. great work btw. |
I guess its working now. |
Awesome, I just feeling that this project was updated. Thanks man! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I trying to download, terminal show this log:
I'm using php 7.1.23 btw
Logged in successfully, collecting courses.
PHP Notice: Undefined property: stdClass::$total in /home/kiddie/Program/ccourse/src/App.php on line 47
PHP Notice: Undefined property: stdClass::$last_page in /home/kiddie/Program/ccourse/src/App.php on line 47
Total lessons found, fetching pages for courses.
PHP Notice: Undefined property: stdClass::$last_page in /home/kiddie/Program/ccourse/src/App.php on line 52
PHP Fatal error: Uncaught TypeError: Argument 2 passed to Symfony\Component\Console\Helper\ProgressBar::__construct() must be of the type integer, null given, called in /home/kiddie/Program/ccourse/src/App.php on line 52 and defined in /home/kiddie/Program/ccourse/vendor/symfony/console/Helper/ProgressBar.php:54
Stack trace:
#0 /home/kiddie/Program/ccourse/src/App.php(52): Symfony\Component\Console\Helper\ProgressBar->__construct(Object(Symfony\Component\Console\Output\ConsoleOutput), NULL)
#1 /home/kiddie/Program/ccourse/src/Commands/DownloadCommand.php(58): App\App->download(Object(Symfony\Component\Console\Output\ConsoleOutput), Array)
#2 /home/kiddie/Program/ccourse/vendor/symfony/console/Command/Command.php(251): App\Commands\DownloadCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /home/kiddie/Program/ccourse/vendor/symfony/console/Application.php(886): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvI in /home/kiddie/Program/ccourse/vendor/symfony/console/Helper/ProgressBar.php on line 54
The text was updated successfully, but these errors were encountered: