jefft
(Jeff Tullin)
23 May 2018 16:21
1
In recent times my blog page which was working fine, now produces this error:
Fatal error: Call to a member function xpath() on a non-object in /home/ursasoft/public_html/blog/index.php on line 126
Calling the tumblr API does get a screen full of XML but I think it may be invalid.
Anyone else have a similar problem?
zeebe
(Robert Ziebol 🖖🏼)
23 May 2018 19:31
2
According to @willwood on this post
@bwdorsey MicroBlog does not make use of any API keys. It uses your blog RSS feed - which is already publically available for search engines, social media and news aggregators to freely use. In effect, MicroBlog can best be described as being an RSS reader.
The stack simply works to convert the the XML into HTML code. It does a little bit of other trickery to try and detect the types of blog posts and to also markup images, audio and video appropriately for different web browsers to access.
Ab…
Microblog does not use the API Keys, so it should not be that causing your issue, but he would be better to answer this. I would contact him.
jefft
(Jeff Tullin)
23 May 2018 19:40
3
Im wondering if its a PHP version issue.
I have two sites… the code works on one of them (1&1 hosted) but not on another (Siteground hosted)
Not sure how to check the versioning
jefft
(Jeff Tullin)
23 May 2018 20:57
4
It IS a PHP version issue. Siteground was using PHP 5.6
When I set the version for that folder to use 7.x, it works as expected.
Odd, because Im sure when I started using the code, it was PHP 5.5
system
(system)
Closed
23 June 2018 06:57
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.