inherit
236377
0
Aug 14, 2019 6:17:01 GMT -8
remnantique
Come join our animal crossing forum!
316
August 2016
remnantique
|
Post by remnantique on Jul 26, 2017 4:33:03 GMT -8
Hi, the profile comments plugin doesn't work with my custom profile template, i'm getting this error:
An error occurred during a document.ready call: TypeError: Cannot read property 'replace' of null While executing: function (){ profileComments(); }
What does this mean? Is there any way to call it manually?
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,780
January 2015
msg
|
Post by Lynx on Jul 26, 2017 6:17:01 GMT -8
remnantique, The first thing I have to ask, since you state you have a custom profile template, is did you change or remove any of the PB default classes in your template? If so, this could be your problem. Many plugins rely on the PB default classes to work properly. In most cases, you can simply hide what the default class displays in favor of your custom class, but the class must still be present for the plugin to work. Given the error, it looks like the plugin is attempting to perform a replace - but there's nothing there (of what the plugin is looking for) to replace. Unless the plugin is in an editable format, you won't be able to do anything on your end for it. I'd suggest locating and posting in the support thread for that plugin.
|
|
inherit
236377
0
Aug 14, 2019 6:17:01 GMT -8
remnantique
Come join our animal crossing forum!
316
August 2016
remnantique
|
Post by remnantique on Jul 26, 2017 6:53:08 GMT -8
remnantique , The first thing I have to ask, since you state you have a custom profile template, is did you change or remove any of the PB default classes in your template? If so, this could be your problem. Many plugins rely on the PB default classes to work properly. In most cases, you can simply hide what the default class displays in favor of your custom class, but the class must still be present for the plugin to work. Given the error, it looks like the plugin is attempting to perform a replace - but there's nothing there (of what the plugin is looking for) to replace. Unless the plugin is in an editable format, you won't be able to do anything on your end for it. I'd suggest locating and posting in the support thread for that plugin. Yea I had a feeling it was a problem with the classes. I fixed another plugin by merging a class from the default template into the new one but with this profile comments plugin I can't for the life of me figure out which class it's trying to find. I've tested a few classes I've taken out and none of them are adding it in.
|
|
inherit
236377
0
Aug 14, 2019 6:17:01 GMT -8
remnantique
Come join our animal crossing forum!
316
August 2016
remnantique
|
Post by remnantique on Jul 26, 2017 6:54:10 GMT -8
I'll try and mess around with the classes a bit more until the plugin finally locates the correct one, thank you
|
|