jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: tatabdullah on 03.05.2024 21:54:07

Title: jDownloads Error with JComments 4.0.30: "Cannot call method 'getParent' on undefined"
Post by: tatabdullah on 03.05.2024 21:54:07
[SOLVED]
I am using the latest version of the jDownloads component on my website. When I activate the JComments 4.0.30 comment component from the jDownloads settings and click on the download title, I get the following error:
Cannot call method 'getParent' on undefined

If I make the setting passive, there is no error. How can I overcome this problem? Has anyone else experienced the same problem?


(https://prnt.sc/Z_jsAIaLFRgo)

Title: Re: jDownloads Error with JComments 4.0.30: "Cannot call method 'getParent' on undefined"
Post by: ColinM on 05.05.2024 23:53:02
Hi
Are you using the JComments from exsrteme? If not please see article
https://www.jdownloads.net/documentation/extending-jdownloads-with-other-extensions-v3-9/enabling-comments-on-downloads-with-jcomments
Also which versions of Joomla PHP and jDownloads please

Colin
Title: Re: jDownloads Error with JComments 4.0.30: "Cannot call method 'getParent' on undefined"
Post by: tatabdullah on 06.05.2024 06:56:42
Hi;
First of all, thank you for your answer.
After installing the com_jdownloads.plugin_4.1.zip files, the problem was fixed.



JComments version I use: JComments 4.0.30 [January 2023]
Download address: https://github.com/extreme/Jcomments-4/releases/tag/v4.0.30
The currently installed Joomla! version "5.1.0"‎5.1.0
jDownloads Version 4.0.42 Stable - Date: 10-04-2024