Support for SermonSpeaker 5.x is in bugfix mode only, the same as it is for Joomla 3.10.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.

Call to a member function get() on null

More
20 May 2017 11:09 - 20 May 2017 11:10 #6672 by Petr H.
Dear coleagues,
few weeks ago we've been facing strange error displaying sermon detail, series etc. Displayed error is "Call to a member function get() on null", but I'm not able to find, where the problem is. I've uninstalled and re-installed Sermon Speaker and I've restored table contents. I've also reinstalled used template, but with no success. Could you give me some hints? How to log such errors, how to find which class, method and in which file error have occured. And best, if you have had similar problems, how you solved it?

Web page , error page is Sermon detail page or Sermon serie .

Thank you
Best regards
Petr
Last edit: 20 May 2017 11:10 by Petr H..

Please Log in or Create an account to join the conversation.

More
20 May 2017 13:45 #6673 by Thomas Hunziker
Looks like I messed up something in the recent release. I'll try to figure out what happend.

Please Log in or Create an account to join the conversation.

More
20 May 2017 14:14 #6674 by Thomas Hunziker
Can you try what happens when you disable the BibleLink XT plugin (if you have that installed)?

Please Log in or Create an account to join the conversation.

More
20 May 2017 15:10 #6675 by Petr H.
Dear Thomas,
first of all - THANK YOU for such good tool, as Sermon Speaker is. We are using it since our web page redesign, many people asked us, what is it and I've been recomending it every time ;).
But to your notes - we don't have this plugin installed. And what is strange even more - on our "dev" web everything is working fine :(.

Thank you again
Best regards
Petr

Please Log in or Create an account to join the conversation.

More
20 May 2017 15:18 #6676 by Petr H.
Heureka! I've got it - I've found the place, where to put echo $this->renderBacktrace(); (template/.../error.php) and it revealed, that problem was caused somehow by calling
plgContentPhocaOpenGraph->onContentAfterDisplay() from /libraries/joomla/event/event.php.

I've disabled this plugin and everything works as should :)

Thank you again for your effort and time.

Have a nice time
Best regards
Petr

Please Log in or Create an account to join the conversation.

More
20 May 2017 16:30 #6677 by Thomas Hunziker
Ah thank you. I can reproduce the same issue on sermonspeaker.net (disabling BibleLink XT does the trick here, hence my question), but also not on my development enviroment.
So I can at least now limit it to the onContentAfterDisplay call and content plugins.
The following user(s) said Thank You: Petr H.

Please Log in or Create an account to join the conversation.

Time to create page: 0.182 seconds
Powered by Kunena Forum