Forums › Forums › Search & Filter Pro › Bug? Debug.log error message
Tagged: bug report, taxonomy
- This topic has 26 replies, 2 voices, and was last updated 9 years, 8 months ago by Ross.
-
Anonymous(Private) February 4, 2015 at 2:24 pm #11473
Hi Ross,
Sorry for the delay in responding; I had a migraine yesterday and have been catching up with my backlog 😉 Thank you for the update. I uninstalled the old version and installed 1.4. It seems to work ok, and the previous error has disappeared, except that a search now returns results in a page devoid of all stylesheets rendering it text only without layout and formatting. The header and footer have been omitted. Presumably this can be fixed easily?
Ross Moderator(Private) February 4, 2015 at 2:41 pm #11474Hi Laura
If you switch back what happens? I imagine the same thing as this update barely changes a thing – I think you have just discovered a new problem in your site.
Are you using shortcode to display results? (under the display results tab)?
I’m guessing you are also using Ajax to display results?
If so, then there is a JS error on your page, JS errors on your page will interfere with the ajax request and instead of loading the results on the page, it will redirect the user to the ajax url (which as you mentioned is devoid of headers/footers etc – it should only be the results – used for the ajax request).
Thanks
Anonymous(Private) February 4, 2015 at 3:19 pm #11478You’re right; switching back throws up the original error in debug.log *and* a results page devoid of stylesheets. SFP has been added via a widget sidebar, and was displaying results in the homepage main content section until now when it loads a CSS-free admin-ajax.php?action=get_results page. I haven’t inserted any additional ajax/js – it just uses what came with the ClassifiedEngine theme. I’ll check for js errors, but they aren’t showing up in the log – should they feature there?
Ross Moderator(Private) February 4, 2015 at 3:28 pm #11482Hey Laura
Essentially then what caused this latest issue is another change in your setup – that wasn’t upgrading the plugin.
To check for JavaScript errors you need to use something like firebug, and check the javascript console there – backtracking the changes you have recently made is probably the easiest option – for example installing other plugins.
Thanks
Anonymous(Private) February 4, 2015 at 3:34 pm #11483JS errors on homepage from a FF web dev extension:
SFP v1.3:
Timestamp: 04/02/2015 15:26:27
Error: TypeError: $field.attr(…) is undefined
Source File: http://localhost/horsehawkv2/wp-content/plugins/search-filter-pro/public/assets/js/search-filter-build.js?ver=1.3.0
Line: 472Timestamp: 04/02/2015 15:27:10
Error: TypeError: document.getElementById(…) is null
Source File: chrome://web-developer/content/overlay/javascript/overlay.js
Line: 7333With SFP 1.4:
Timestamp: 04/02/2015 15:29:34
Error: TypeError: $field.attr(…) is undefined
Source File: http://localhost/horsehawkv2/wp-content/plugins/search-filter-pro/public/assets/js/search-filter-build.js?ver=1.4.0
Line: 558I’m afraid it’s referencing the SFP plugin, not the theme… If I should be looking elsewhere too, let me know.
Ross Moderator(Private) February 4, 2015 at 4:43 pm #11486You’re right Laura however I’m confused, if it was working before on 1.3 why would it stop working when reverting back to 1.3?
Was there anything you did that you can recall?
I’m afraid I’d have to see your setup to be able help further as I can’t recreate this issue. S&F 1.3 did have an issue like this but 1.4 resolved it for any users that had reported it.
Can you get a temp staging/demo link so I can see the problem in action?
Thanks
Anonymous(Private) February 5, 2015 at 4:00 pm #11540“I’m confused, if it was working before on 1.3 why would it stop working when reverting back to 1.3?”
Yes, that had occurred to me too! I can’t think of anything I did, as I literally performed the actions in succession. I have deactivated non-essential plugins to rule them out and made functions.php blank; still the issue persists. I’ll send you details of a testing server.
-
AuthorPosts