Closed (fixed)
Project:
Facet API
Version:
7.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2014 at 11:07 UTC
Updated:
16 Nov 2018 at 14:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dimwolf commentedGetting the same error is more than one value is selected.
Comment #2
jan_v commentedAlso getting the same fatal error, only in v 7.x-1.3 line 863 .
clearing cache with drush doesn't help.
Comment #3
enricotersi commentedI've the same error when i add the facet block in the view index page
a simple facet of taxonomy terms
Comment #4
katsivelisp commentedSame here!
Comment #5
katsivelisp commentedWell, it seems that it worked from me after I disabled and deleted all facets, deleted and re-created the index and enabled the facets again. Of course I cleared the cache a couple of times in between. I hope it works for you guys as well.
Comment #6
sebastien m. commentedWe encountered same issue.
Here is a fix which force hook to be loaded before ctools try to load plugins.
Comment #7
yatendrasingh121 commentedCorrected paths of patch attached in #6
Comment #8
sebastien m. commentedMy fault, I included paths from my project.
Thanks
Comment #9
jtronchon commentedHi,
#7 works well against 7.x-1.5+2-dev. Can anyone else confirm ?
Comment #11
lukasss commented# 7 not working for me
Comment #12
lukasss commentedIn fact, this error can not be connected to the module facetapi
In my case the bug flew out of the fact that before I used ajax_facets module and to configure facet "Behavior empty facet" exhibited the value offered from this module.
According uselessness module is disabled or even removed (correctly, of course), but it did not change the setting "Behavior empty facet."
They happily changed my own and I could not imagine anything bad.
Then already, bringing in the wrong line in the $ id var_dum mine saw "ajax_facets" and understood.
Including the module, do one of the facets in the settings of the setup was ajax_facets, changed, turned off the unit removed - it worked. Maybe someone and come in handy! Sorry for bad english!
Comment #13
tarasichCan confirm that I had this problem because of 'empty_behavior' => 'ajax_facets', value in $settings variable (for one of facets on page), as described lukasss.
Fixed this by resaving facet with new settings.
Comment #14
eugene.ilyin commentedIs this problem actual? How can I reproduce it?
Comment #15
tarasichHi eugene.ilyin!
Steps to reproduce:
1. Install facetapi and ajax_facets modules.
2. Got to one of facets settings, set Display widget to one provided by Ajax Facets module.
3. Set empty behaviour to Ajax Facets Wrapper (as module recommends)
4. Disable Ajax Facets module
5. Uninstall it.
6. Filter results with other facets to make this facet to be hidden.
Comment #16
eugene.ilyin commentedGreat explanation. Thank you.
I'll check.
Comment #17
Ouach commentedHi,
If you are in the situation of tarasich #15, the solution that worked for me is:
Enter a text in the "Empty text" wysiwyg textarea.
Comment #19
eugene.ilyin commentedI think that the right way is update settings of the facets when the module ajax facets will be disabled.
But this problem can happens with any other module. I think that better to prevent it in module facets.
Comment #20
eugene.ilyin commentedComment #22
danthorneThanks Ouach, save me a lot of time :)
Comment #23
burshyn commentedI have the same problem. Uninstalled the module ajax facets BUT forgot to change the value, the behavior in the absence of results!
Comment #24
seonomad commented#17 is work for me! Thanks!