Skip to content
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

[FB2Bridge] php error: Call to a member function find() on null #935

Closed
jcmag opened this issue Nov 20, 2018 · 4 comments
Closed

[FB2Bridge] php error: Call to a member function find() on null #935

jcmag opened this issue Nov 20, 2018 · 4 comments

Comments

@jcmag
Copy link

jcmag commented Nov 20, 2018

Hi,

my FB2Bridge has stopped working ; I see this error in my log:

PHP Fatal error: Call to a member function find() on null

the error comes from this line:

$item['uri'] = html_entity_decode('http://touch.facebook.com'
			. $content->find("div[class='_52jc _5qc4 _24u0 _36xo']", 0)->find('a', 0)->getAttribute('href'), ENT_QUOTES);

Did something change in facebook's html code?

@logmanoriginal
Copy link
Contributor

Thanks for opening this issue!

Did something change in facebook's html code?

That is very much possible. Please share your query (or some query that results in this error), so we can confirm your issue. Don't forget to include the version number of your installation.

@jcmag
Copy link
Author

jcmag commented Nov 20, 2018

any facebook page results in this error (for example: .../?action=display&bridge=FB2&u=Jogging.International&format=Mrss)

I've the latest version of the code

@triatic
Copy link
Contributor

triatic commented Nov 30, 2018

My PR #950 should fix this.

@jcmag
Copy link
Author

jcmag commented Nov 30, 2018

yes, it works with your fix, thanks!

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

No branches or pull requests

3 participants