Forums › Forums › Search & Filter Pro › JS errors after install
- This topic has 12 replies, 3 voices, and was last updated 7 years, 1 month ago by
Ross.
-
Anonymous(Private) January 26, 2018 at 5:21 pm #155214
Hi,
I wanted to test your plugin for a website I’m developing but I’m getting 2 JS errors. Can you help please?
Warning: Illegal string offset ‘results_url’ in ‘class-search-filter-helper.php’ on line 235
Warning: Cannot assign an empty string to a string offset in ‘class-search-filter-helper.php’ on line 235
Thank you!
Ross Moderator(Private) January 28, 2018 at 1:50 pm #155340Hi Thomas
These are actually PHP warnings and have been fixed in our next version. Release is today/tomorrow so watch out for it and let me know if you are still having issues.
Thanks
Anonymous(Private) January 28, 2018 at 4:09 pm #155374Yes, sorry, I was working on some JS at the same time so I got confused. Anyway, awaiting the new version then.
By the way, is there any easy to get rid of of the “Found x results” and page number without messing with the plugin code? I wish there was some html markup for these in future version, so they could easily be hidden using CSS.
Anonymous(Private) January 28, 2018 at 5:17 pm #155389OK that’s really weird. I’m indeed using a custom template, but based on the infinity scroll one (my search forms are all set to infinity scroll).
So I had cleaned the unwanted parts from that template, but not from the “standard” results template. I just did it and it worked. So, somehow, the plugin is still using the results template despite being set to use the infinity one.
Any idea of what could be causing this?
Anonymous(Private) January 29, 2018 at 2:57 pm #155683Hi again Trevor,
It seems like I just found a bug with the new version of your plugin.
It’s pretty difficult to explain, but it seems that any taxonomy added since the new version works, but when put in a page template messes around with the Visual Composer elements below it. You can see an example here:
– This page has a full-width footer built with Visual Composer. It displays in full width as it should, and the main container ends with a shortcode using a taxonomy (tag of the Download Monitor’s custom post type) created before the new version of the plugin: http://atee.education/rd-communities/professional-development/
– This page, on the other hand, has pretty much the same search form but with a tag created after I updated the plugin. See the footer? It doesn’t take into account the rule set for the VC row to display in full-width. If I change the search form to another tag, then it works again! – http://atee.education/rd-communities/health-environment-and-sustainability/Do you understand what’s happening here?
-
AuthorPosts