Got this error which killed the page.
Apachesolr has changed this function from
apachesolr_mark_node($nid) to
apachesolr_mark_entity('node', $nid);
Patch attached.
cheers,
DT
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | nodequeue_apachesolr_fatal_error-1425326-14.patch | 1.01 KB | m.stenta |
| #8 | php-fatal-error-1425326-8.patch | 1.09 KB | killua99 |
| #7 | php-fatal-error-1425326-7.patch | 1.08 KB | killua99 |
| #5 | nodequeue-7.x-2.0-beat1-apachesolr-1425326-6028750.patch | 865 bytes | abhishek.kumar |
| nodequeue-apachesolr-fix.patch | 546 bytes | davidwhthomas |
Comments
Comment #1
damienmckennaThis appears to be already fixed in the latest -dev version, if you check the codebase. Thanks for the patch though!
Comment #2
davidwhthomas commentedAh glad to hear it.
Comment #4
abhishek.kumar commentedStill getting error need some improvements in patch. While removing the nodes from nodequeue.
Comment #5
abhishek.kumar commentedI have done some improvements on the existing patch.
Comment #6
killua99 commentedBackporting to 6.x-2.x
Comment #7
killua99 commentedNeed review, and please a commit after this. Some one are upgrading the new apachesolr module and need support.
Comment #8
killua99 commentedOu auto complete IDE make a bad joke.
module_exits is not the correct function. function_extis is.
Comment #9
drupalninja99 commentedYou are missing a ')'
if (function_exists('apachesolr_mark_node') {Comment #10
amateescu commentedCommitted a revised patch to 6.x-2.x. Sorry for the delay..
http://drupalcode.org/project/nodequeue.git/commit/b8270a8
Comment #12
dago.aceves commentedThis patch (http://drupal.org/node/1425326#comment-6029228) should be accepted by the project on the 7.x branch.
apachesolr_mark_node D6 for older versions of apache solr.
apachesolr_mark_entity is for later versions apachesolr on D6 and D7.
Works for me.
Comment #13
kmontyIt is in the 7.x dev branch, just not the stable release.
Comment #14
m.stentaJust made a quick patch file for the D6 branch for anyone that needs it (for example if you're patching via Drush Make). This is not meant to affect this issue... it's just a file for anyone who needs it quickly.
Comment #15
joshuautley commented#5 for D7 with apache solr worked for me. Thank you!
Comment #16
technikh commented#5 worked for me too. Thank you.
Comment #17
dharizza commentedI have the module with version 7.x-2.0-beta1 and there is still the issue but #5 worked for me in Drupal 7 with Apache Solr.
Thanks.
Comment #18
henrikakselsen commentedSame issue for me, but #5 works and seems like the right solution.
Comment #19
Sneakyvv commentedThis seems to have been committed for the 7.x branch as well.