Urban Giraffe Support | Search Unleashed
Fatal error: Call to a member function get_terms()
Hi, I have been using Search Unleashed since the last month. The problem started when I updated the plugin to the version previous to current version. Here is the error showing up on landing pages :
Fatal error: Call to a member function get_terms() on a non-object in /home/enli/public_html/wp-content/plugins/search-unleashed/search-unleashed.php on line 601
I have already tried to delete and re-install the plugin but this error still persist.
Some Other information that might be useful:
Wordpress : 2.8
PHP Curl : Enabled
Thanks,
EnLi

Responses
Posted 2 years ago by Key Master
Are you using the latest version of the plugin? This should already have been fixed.
Posted 2 years ago by
Hi John, I'm having this issue as well, and am using 1.0.2. Any thoughts?
Posted 2 years ago by
I’m having the same problem too. Using 1.0.2. WP 2.8.1. Would love to see a fix.
My search page returns results. But then following the links in the results, leads to that error.
e.g.http://ilovetypography.com/?s=kris&button=search (just click a link)
Posted 2 years ago by
I found a quick and mostly untested solution. I just went to the line giving me troubles (line 611 in search-unleashed.php) and removed the following:
The plugin continues to work as intended, though I haven't done any thorough testing to completely confirm that. It's a good temporary solution, in case anyone is curious.
Posted 2 years ago by
Tyler:
That didn’t work for me. Initially no results, then later the same error.
I’ve now deactivated the plugin. Pity, because when it was working it was great.
Anyone know of good alternatives to Search Unleashed?
Posted 2 years ago by
same thing happens to me, but like 611, the hlight
Posted 2 years ago by
I am having this problem too, with the latest search-unleased on Wordpress 2.8.2. It happens when users click links to my site from Google. For example, click the first search result here:
http://www.google.com.au/search?rlz=1C1CHMA_en-GBAU333AU334&aq=f&sourceid=chrome&ie=UTF-8&q=cudpp
Thanks!
Mark
Posted 2 years ago by
same here
Posted 2 years ago by Key Master
Can anyone experiencing this problem check out this bug report and see if it applies?
http://urbangiraffe.com/tracker/issues/664
Posted 2 years ago by
I do have the More Fields plugin installed, which is similar in that it's for custom fields managing...
But when I disable highlighting, there are still issues...this time with preg_replace_callback in highlighter.php.
Also, when I have Lucene enabled as the search engine, it keeps doing searches in a loop and causes errors for taking so much time to load the page. Then on the main plugin options page, it says I have 20,000 searches performed with the plugin (within a matter of minutes!).
Posted 2 years ago by Key Master
Sorry guys, I still can't reproduce this but I've released a new version which may stop the error. If it doesn't can someone send me a login to a non-functioning site and I'll try and debug what's going on
Posted 2 years ago by
^ 1.0.4 fixed the Fatal error for me.
Thanks John
Posted 2 years ago by
That fixed it for me; but now all the formatting is screwed up...
Posted 2 years ago by Key Master
Johno, have you played with the theme position setting? Themes display things differently so this changes where highlighting occurs. I tried your example link above but the problem seems to have disappeared.