We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've built this but it bails out trying to retrieve session cookie:
Error
Call to a member function getValue() on null
at app/Commands/EcowittExportCommand.php:237 233▕ $loginData = $response->json(); 234▕ 235▕ $cookies = $response->cookies(); 236▕ ➜ 237▕ return $cookies->getCookieByName('ousaite_session')->getValue(); 238▕ 239▕ } 240▕ 241▕ /**
1 app/Commands/EcowittExportCommand.php:63 App\Commands\EcowittExportCommand::getSessionId() +13 vendor frames
15 ecowitt2weewx:37 LaravelZero\Framework\Kernel::handle()
Thanks
The text was updated successfully, but these errors were encountered:
Same for me
Sorry, something went wrong.
Updated the code in my fork, pull request created.
No branches or pull requests
I've built this but it bails out trying to retrieve session cookie:
Error
Call to a member function getValue() on null
at app/Commands/EcowittExportCommand.php:237
233▕ $loginData = $response->json();
234▕
235▕ $cookies = $response->cookies();
236▕
➜ 237▕ return $cookies->getCookieByName('ousaite_session')->getValue();
238▕
239▕ }
240▕
241▕ /**
1 app/Commands/EcowittExportCommand.php:63
App\Commands\EcowittExportCommand::getSessionId()
+13 vendor frames
15 ecowitt2weewx:37
LaravelZero\Framework\Kernel::handle()
Thanks
The text was updated successfully, but these errors were encountered: