Closed (fixed)
Project:
Fuzzy Search
Version:
7.x-1.x-dev
Component:
Search API integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2011 at 12:38 UTC
Updated:
31 Mar 2012 at 10:51 UTC
I have this error
Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in /home/www/drupal/temp/echodespros/sites/all/modules/search_api/includes/processor.inc on line 288
It doesn't seem to affect anything from working.
Sorry for the brief description but I really don't have any more info on this. Just considered to post it in case it might help.
Comments
Comment #1
drunken monkeyA fatal error that doesn't affect anything? Very weird, and seems too good to be true …
Please see if the error is still there in the latest dev, and on which line!
(For me, line 288 only contains
continue;.)Also, which processors are you using? Any that aren't directly in the Search API module?
Comment #2
george.plescan commentedI updated to the latest dev and the error is gone.
I am using Search API for the Fuzzy Search module. As I said before the search was working fine, only that I got the error message when I opened the site.
Thank you for the module.
Comment #3
george.plescan commentedComment #4
george.plescan commentedThe error is back, I don't know why.
Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in /home/www/drupal/echodesprosdev/sites/all/modules/search_api/includes/processor.inc on line 294
else {
$token['score'] *= $score;
}
This is what's on that line.
Again the Fuzzy Search is still working on the site.
Sorry for closing and re-opening the issue. I tested and for the moment it was ok.
Comment #5
drunken monkeyNo problem. (Only please never set the status to „closed (fixed)“, just to „fixed“.)
However, then it seems the problem lies in the Fuzzy Search module. Moving this issue accordingly.
Please disable all processors but one of those from the Fuzzy Search module, and then all but the other, to find out which of those (or both, or none) is causing this problem. It might also help awolfey if you could find out what
$tokenlooks like before the fatal error occurs – but maybe he'll know that anyways. In that case he should either use normal arrays, or overridenormalizeTokens()in the processor.Comment #6
awolfey commentedgeorge.plescan, Could you please update your copy of fuzzysearch and let me know if this is still happening, and if so, the steps to repeat the error?
I just made a bunch of fixes to the module and it should be working again. Thanks
Comment #7
george.plescan commentedI did the updates of FuzzySearch and also Entity and SearchAPI.
I will report any changes in a future post, to be sure it doesn't reappear.
Thank you for the help.
Comment #8
awolfey commentedClosing.