1. Astrid van Eerd
  2. Bugs
  3. Monday, 21 January 2019
  4.  Subscribe via email
When trying to post comment, this error appears in Firefox console:

TypeError: e.commentsById[o.parentid] is undefined

in

8e12eb270706cd6b2c8483104bf89b54.min.js:51:129664
Responses (11)
Accepted Answer Pending Moderation
Hi,

please provide URL to the page where we can see this issue so we can check it out
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
Normally it is set to registered only, but changed options temporary.
https://bit.ly/2R594Cm
  1. more than a month ago
  2. Bugs
  3. # 2
Accepted Answer Pending Moderation
Hi,

do you have any kind of caching enabled on your website?
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
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Astrid,
Can you go in the settings to the tempalte tab and disable minify and merge. This would output the js file as they are and we could get a better idea from where exactly in the code the error is coming.

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. # 4
Accepted Answer Pending Moderation
Disabled minify.
And fyi: no caching enabled.

Sorry for the late reply but I'm not receiving email notification of replies.
  1. more than a month ago
  2. Bugs
  3. # 5
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Ok, I think I know what is going on, but you have to figure out what you've turned on your site that does this.

When we send an ajax request to save the comment - the response instead of a json with the comment is:


<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="/https://www.googletagmanager.com/gtag/js?id=xxxx"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'xxxx', { 'anonymize_ip': true });
</script>


<title>
Welkom op de nieuwe website van Bergen Limburg Online
</title>

<style>
body{
background: #fff;
}
* { font-family: verdana; font-size: 18pt; COLOR: #235E08; }
b { font-weight: bold; }
table { width: 100%; height: 100%; border: none;}
td { text-align: center; padding: 25;}

</style>
</head>
<body>
<center>
<table>
<tr><td><p>Hier komt binnenkort de nieuwe website van<br>
Bergen Limburg Online
</p></td></tr>
<tr><td><img src="/xxxx.png"></td></tr>
</table>
</center>
</body>

</html>



Are you using a google analytics plugin? Can yuo disable it and see if it works afterwards. This is an html response and it shouldn't be there. This shouldn't be triggered when we request a json response.

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. # 6
Accepted Answer Pending Moderation
Where do you see that? I'm using the analytics.js script in my template but no external extension.

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'xxxxx', 'auto');
ga('set', 'anonymizeIp', true);
ga('set', 'forceSSL', true);
ga('send', 'pageview');

</script>


And deleting the script from the template doesn't solve it.
  1. more than a month ago
  2. Bugs
  3. # 7
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Do you have an index.html file on the website?
Our request is pointing to
http://yourdomain.com/?option=com_comment&task=comments.getcomments&format=json&lang=en&contentid=91&component=com_content&start=1
this leads to. white page with the text
Hier komt binnenkort de nieuwe website van
Online


and the mentioned analytics code.

If I do a request to index.php?... then I get the expected result. If you do have an index.html - remoe it and it should start to work.
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. # 8
Accepted Answer Pending Moderation
Yes! That did it! Thanx!
Temporarily renamed index.html and problem was solved. Have to leave it on for now as site is still under construction.
  1. more than a month ago
  2. Bugs
  3. # 9
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
better put an .htaccess file there. Despite the fact that / will load the index.html - this doesn't mean that search bots won't try index.php.

If you don't want the site to be indexed, place it behind a .htaccess
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. # 10
Accepted Answer Pending Moderation
Thx. Will have a look at it.
  1. more than a month ago
  2. Bugs
  3. # 11
  • Page :
  • 1


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

Last questions

How to enable or disable comments for a category o
Hi, How do I enable/disable comments for a category? Or menu/menu item? I can'...
0 Replies
Posted on Monday, 29 November 2021
  • New
  • Where is the most recent plugin for Community Buil
    Hi! I have an older version of the plugin for HotSpots locations to integrate...
    5 Replies
    Posted on Sunday, 21 November 2021
    Installing Compojoom
    Hi, I just bought the Matukio Events and tried to install the extension via Comp...
    8 Replies
    Posted on Sunday, 28 November 2021
  • New
  • Uncaught TypeError: Cannot read properties of unde
    Good day! After updating joomla 3.10 to j4, I got a JS error, the comments form...
    2 Replies
    Posted on Wednesday, 24 November 2021
  • Resolved
  • New
  • How much do you take to develop a plugin to displa
    Hello, I have a site with Hotspots Pro 6 installed. How much do you take to ...
    0 Replies
    Posted on Wednesday, 24 November 2021
  • New
    • #hotspots pro