Closed (won't fix)
Project:
Search Lucene MoreLikeThis
Version:
6.x-1.0-alpha4
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 May 2010 at 22:18 UTC
Updated:
29 Sep 2011 at 17:30 UTC
Comments
Comment #1
cpliakas commentedHi stevetron5k.
Thanks for the bug report. I am unsure as to why this is happening, but I will research and post back.
Thanks for posting the error message,
Chris
Comment #2
cpliakas commentedRe-tagging for the beta1 release, as it is the next expected release.
Comment #3
kmv commentedI am seeing something very similar, so similar it might be the same bug, a number of my pages they WSOD with the following PHP error:
PHP Fatal error: Call to a member function getValue() on a non-object in [...]/sites/all/modules/luceneapi/lib/Zend/Search/Lucene/Search/Query/MultiTerm.php on line 473Initially I worked around the problem by forcing the MoreLikeThis block to not be displayed on the affected pages. But then I discovered that the problem is peppered throughout the site, so I have had to disable MoreLikeThis altogether.
I can't see anything in the affected nodes that might be causing a problem - heck some of the nodes are just some text with minimal formatting.
Comment #4
cpliakas commentedUnfortunately I can't replicate this. Need some help debugging this one. Going to un-tag the issue until a cause is discovered.
Sorry for the issues,
Chris
Comment #5
MaxWesten commentedI've got the same problem.
PHP Fatal error: Call to a member function getValue() on a non-object in [...]/sites/all/modules/luceneapi/lib/Zend/Search/Lucene/Search/Query/MultiTerm.php on line 473
I'm using luceneapi_cck too.
If the option "Only return results that are language neutral or in the current language." on the /admin/settings/luceneapi_node page is enabled, it gives beforementioned error.
Comment #6
sevanden commentedI have the same issue, only admin can see the node withouth having the error. All other users seem to have problems and get the message.
Maybe it has something to do with persmissions, but i haven't figured it out myself either
Comment #7
sevanden commentedBeen looking a little on the web for this, bumped into this http://stackoverflow.com/questions/1249112/zend-search-lucene-massive-si...
Could this possibly be the same thing?
Comment #8
daniel wentsch commentedSame issue, though even admin user gets the error and can't see the nodes affected by this problem.
Found the issue on 2-3 nodes of several thousand nodes so far, but there might be a lot more affected.
Update: found out that the error seems to disappear when I disable the checkbox "Taxonomy Term" under the fieldset "Node fields" on the MoreLikeThis settings page.
Comment #9
andrew smith commentedI think 'non-object's are nodes that no longer exist.
Lucene operates from its 'Index' - not from actual content, as is.
So, attempting to remove a reference to a node - that is not there - causes the error.
'Re-index' or 'Index remaining nodes' at /admin/settings/luceneapi_node/statistics should solve it.
Did for me anyway.
Comment #10
andjeloo commentedI had something similar "drupal fatal Call to a member function get_value() on a non-object". In my case it was related to signup node, I sorted out by playing with role permission (User Management\Permissions on, in my case, signup node).
Comment #11
cpliakas commentedDue to end of life announcement.