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
Describe the bug When executing the bridge, it gives an error 0.
Type: Error Code: 0 Message: Call to a member function getBody() on array File: bridges/RedditBridge.php Line: 154
#0 index.php(72): RssBridge->main() #1 lib/RssBridge.php(103): DisplayAction->execute() #2 actions/DisplayAction.php(68): DisplayAction->createResponse() #3 actions/DisplayAction.php(117): RedditBridge->collectData() #4 bridges/RedditBridge.php(105): RedditBridge->collectDataInternal() #5 bridges/RedditBridge.php(154)
Query: action=display&bridge=RedditBridge&r=all&format=html
To Reproduce Steps to reproduce the behavior:
Screenshots
Additional context There seems to have been some change in the response, that instead of a object, it's an array.
Is anyone else also experiencing this? If so, I'll raise a PR.
Replace https://github.com/RSS-Bridge/rss-bridge/blob/master/bridges/RedditBridge.php#L154 with $json = end($response);
$json = end($response);
The text was updated successfully, but these errors were encountered:
Unclear to me why this happens but I think it's an old cache value.
Clearing cache will probably fix it.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When executing the bridge, it gives an error 0.
Details
Type: Error
Code: 0
Message: Call to a member function getBody() on array
File: bridges/RedditBridge.php
Line: 154
Trace
#0 index.php(72): RssBridge->main()
#1 lib/RssBridge.php(103): DisplayAction->execute()
#2 actions/DisplayAction.php(68): DisplayAction->createResponse()
#3 actions/DisplayAction.php(117): RedditBridge->collectData()
#4 bridges/RedditBridge.php(105): RedditBridge->collectDataInternal()
#5 bridges/RedditBridge.php(154)
Context
Query: action=display&bridge=RedditBridge&r=all&format=html
To Reproduce
Steps to reproduce the behavior:
Screenshots
Additional context
There seems to have been some change in the response, that instead of a object, it's an array.
Is anyone else also experiencing this? If so, I'll raise a PR.
Workaround
Replace https://github.com/RSS-Bridge/rss-bridge/blob/master/bridges/RedditBridge.php#L154 with
$json = end($response);
The text was updated successfully, but these errors were encountered: