1. Brecht Coene
  2. Bugs
  3. Wednesday, 01 November 2017
  4.  Subscribe via email
Hello,
We are facing the folowing error:
Call to a member function get() on null

In the log file:
Uncaught exception 'Error' with message 'Call to a member function get() on null' in (server_path)/components/com_comment/views/comments/view.html.php:21

Please tell us if there is something that we could do.
Thank you in advance
Responses (5)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
It isn't nice, but it is normal. You don't have any functionality directly under option=com_comment -> you need other parameters in the request. What's happening exactly? We are not generating an url like this normally.
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 1
Accepted Answer Pending Moderation
Hello again,
On a fresh installation once we call this url:
index.php?option=com_comment

We get the same error, is it normal?

Regards
  1. more than a month ago
  2. Bugs
  3. # 2
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Which version of the comment system are you using? I scanned our database for josctask, but there is no such thing anymore. Maybe you guys have a custom template with a hardcoded link to the RSS function?

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 3
Accepted Answer Pending Moderation
Hello again,
The request is:
component/com_comment/contentid,1147/josctask,rss/no_html,1/plugin,com_componentname/
I could also reproduce the issue with a request like:
index.php?option=com_comment

Does something needed in custom component's configuration?

Regards
  1. more than a month ago
  2. Bugs
  3. # 4
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Did you make a custom template or a template override?

line 21 is this:

$commentTemplate = $this->config->get('template.template', 'default');


calling get on null actually should mean that this config is not defined, which it should be. What component is that? Do you have a configuration for this component in ccomment settings?

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Dowload all Hotspots entries
Hi there, I'm looking for a way to dowload all the Hotspots entries. I've got t...
0 Replies
Posted on Sunday, 06 April 2025
  • #kml
  • #download
Set number of hotspots / user groups
Hi, I'm working with Hotspots for my new website and I love it! After trying ...
0 Replies
Posted on Monday, 31 March 2025
J5 compatibility for Hotspots
Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
1 Replies
Posted on Monday, 24 February 2025
  • #Hotspots
  • #hotspots Joomla 5
Text size in the comment input form
Hello. How can I increase the font size in the comment input field? For examp...
0 Replies
Posted on Wednesday, 26 February 2025
  • #CComment 6
Problem with enlarged image
Hello. When you click on the image in the comments, it does not appear in the ce...
1 Replies
Posted on Wednesday, 26 February 2025