By rgracia on
I am getting the following error when searching for a term that is found:
--------------------------
recoverable fatal error: Object of class stdClass could not be converted to string in apache2/htdocs/drupal/modules/search/search.pages.inc on line 102.
--------------------------
This error comes up on the top of the search results page but the results are actually and accurately displayed below. How do I get rid of this error?
Comments
search.pages.inc on line 102.
The same problem on drupal 6.2
---------------
Andrii Podanenko
CEO, ITCare
temporary hack
temporary commented line 102 fix the problem but it is ugly hack 8(((
---------------
Andrii Podanenko
CEO, ITCare
Is this happening in production servers (paid)
I am wondering if this is only happening on my development environment. Are any of you experiencing this error on a production, paid service host? I suppose I could install 6.2 on my web site's server and see how it behaves. It's so far the only problem turning me off from implementing version 6.2 instead of 5.
search.pages.inc on line 102 fatal error
Yes rgracia, same error showing up here on production site w/ paid service host, 17 hours after site went live.
I haven't looked into it -yet, but will asap, and post results here (hopefully solution too).
If we can get a specialist to check this out; might be timesaving and an enormous plus for all of us including Drupal 6.2
rgracia are u using 'URL aliases' by any chance?
If you mean clean urls...
No I am not using clean urls on my dev environment. I am going to do some great deal of reading this weekend on the configuration and theming and see if I can come up with a solution. I would hate to deploy a site 1) on an outdated version of Drupal 2) throwing errors on simple tasks.
Same Exact Problem
I'm having the same exact problem. Using Drupal 6.2, no clean urls. For every found search item, there is one error message.
I will know more later...
I have been able to install on a production server and will test this later. There seems to be a problem with the string conversion of the searched terms. I saw some bug reports on PHP.Net about it but I am not sure how long until the issue is resolved. This will depend on the exact version of PHP installed on the server.
As expected... 5.2.5 vs 5.2.3
On the production server I get no errors at all when searching. The version on my development environment for php is 5.2.5 while my host has 5.2.3
My development environment throws errors when running crone and when searching while the production server on my web host does not.
I stand corrected
I do get the errors as well on the production server, web host, now that I have turned on Multilingual support. I am also getting a couple of issues with the DHTML Menus rendering some code on screen where it shouldn't be.
Multilingual Polls
After testing, this seems to disappear when Multilingual Poll is disabled. I don't actually have any polls on my site right now, and I'm not sure why the modules would interact like this, but that's definitely where the problem lies.
You are right...
after disabling the Multilingual Poll module the error ceased. Annoying that the module is conflicting with the search. I know the multilingual module is on beta still for D6.2
I may send them a note on this issue and see what they say.
yeap... problem finnally
yeap... problem finnally solved :)
thanks google... er.. drupal community