Skip Navigation

[Closed] "Uncaught ReferenceError: toolsetCommonEs is not defined" On Search page.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 10 replies, has 2 voices.

Last updated by Shane 2 months, 4 weeks ago.

Assigned support staff: Shane.

Author
Posts
#2074681

I am trying to: Do a site wide search.

Link to a page where the issue can be seen: hidden link

I expected to see: hidden link

Instead, I got: hidden link

So if you use the search bar in the header of a page and you search for something that exists like "test" then you will see the issue with the formatting of the page. Plus you get console errors: hidden link

Also toolset adds a div before the HTML if you view page source: hidden link

If you look for something that doesn't exist like "hello" then the formatting is correct. Plus no console errors and no added div before the HTML.

I hope you guys are able to help with this. I have no idea how to fix this.

Thanks
Guido

#2075195

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Guido,

Thank you for getting in touch.

Based on the errors, I suspect that this might be a conflict of some sort. What I would attempt to do first here is to temporarily disable all the non-toolset plugins and perform the search again to see if the issue remains.

If the issue doesn't persist then we can safely say that another plugin is not playing nicely with Toolset. Please do this and let me know the results and we can take it from there with assisting.

Thanks,
Shane

#2079127

Hi Shane,

I will give this a try. Will update when i have done so.

#2079151

Hi Shane,

It's the Plugin relevanssi that created the issue. hidden link

I looked at my plugins and thought that could be the only one that's related to serach. I disabled it and all works now.

So is this something you will have a look at or shoud i contact that developer?

Thanks
Guido

#2079363

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Guido,

Relevanssi is a compatible plugin with Toolset.

Would you mind allowing me to have admin access to your site so that I can grab a copy for further testing ?

I've enabled the private fields for your next response.

Thanks,
Shane

#2080377

Hi Shane,

I also contacted the developer, and he will look into this as well. He asked if it had anything to do with the custom excerpt being enabled or disabled. These settings here: hidden link

I had it enabled and after disabling it the issue was also gone. So it seems that it has something to do with that setting.

So for now i have it disabled and the issue is gone. I assume he will investigate further on that issue with that setting.

Thanks
Guido

#2080501

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Guido,

Great given that the developers of Relevanssi will look into the issue then no further action is needed from us here.

What you can do is to go ahead and mark this ticket as resolved.

Thanks,
Shane

#2089321

Hi Shane

This is the reply i got form the developer:
"There’s something in how Toolset and the Relevanssi excerpts combine here. I’d need to have access to Toolset to be able to debug this; I don’t have right now. Very little I can do about this, as I don’t know at all what Toolset is doing there… but at least it works fine without the excerpts."

So maybe there is something you guys can do?

Thanks
Guido

#2091903

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Guido,

Would you be able to setup a staging site for us to do some additional testing ?

I will need this in order to pass to our 2nd tier team so that they can have a further look at it to see what is happening here.

Please let me know if this is something that is possible to do.

Thanks,
Shane

#2096971

Hi Shane, sorry i am not able to provide a staging site.

Thanks
Guido

#2099339

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Guido,

Are you able to provide a copy of the site itself where I can deploy locally to inspect the issue as the replication steps aren't so clear to me hence i'm not able to replicate on a fresh install.

To provide the site copy please follow the instructions in the link below.
https://toolset.com/faq/provide-supporters-copy-site/

Looking forward to hearing from you soon.

Thanks,
Shane

The topic ‘[Closed] "Uncaught ReferenceError: toolsetCommonEs is not defined" On Search page.’ is closed to new replies.