I have a number of Drupal 6 websites running with similar modules, i.e. CCK, Views, etc. However one of them is giving lots of errors in the admin/reports/dblog log:

Message md5() expects parameter 1 to be string, array given in /home/xxxwww/xxx.org.uk/modules/filter/filter.module on line 435.
Severity error

This error is given pretty much on every page and for every visitor.. I am really confused as things were OK before. I think the only module I had installed which seemed problematic was the admin bar and I removed that.

I am not sure how to go about debugging or reporting this?!

Comments

JayNL’s picture

Check out your database if there are any leftovers of your admin bar module?

KKarimi’s picture

Thanks. I checked but the left overs were only in cache tables.. any other suggestions?!

dkane’s picture

I'm having the same problem in drupal 6, but only on a page that is heavy in block views. At the top of the page I get one error per view, and then at the top and bottom of every block view it prints "array" - on top of that views has deleted all of the PHP footers from those blocks and gets pissed when I try to save them, giving me the following error:

An error occurred at http://www.mysite.com/admin/build/views/ajax/display/Resume/block_1/footer. I believer this to be a mod_security error on my server though...

Any ideas? I'm using Drupal 6.16, Views 6.x-3.4. Definitely seems like it might be a views issue...

dkane’s picture

Ok, so I went through and got rid of all of the php input format footers that I had in my block views and that seems to have made the error go away.

Doesn't give me quite the usability I wanted, but at least visitors don't see a bunch of php errors. Seems to be some sort of problem with views using the built in PHP filter.

2faroffroad’s picture

I had the same issue, finally I noticed that in Views my Header had changed to "filtered HTML" but it had no content. I changed it to PHP, clicked update and it reset back to "Header None" and my error went away.
I still do not know how it got changed to filtered html. I did recently just upgrade views and drupal all about the same day.

Jorge Campo’s picture

In my case I had a footer and header with text which gave me the same two errors with that text:one for each of them.

In the edit view: I realised I have lost the text but still the view had both items as "full html".
I removed them and saved the view. The values changed to "none" and the error messages dissapeared.

I did not check to add the texts again do.

MorganG’s picture

"I had the same issue, finally I noticed that in Views my Header had changed to "filtered HTML" but it had no content. I changed it to PHP, clicked update and it reset back to "Header None" and my error went away."

- Thanks, This solved the problem for me!

klonos’s picture

... in my case it was the 'Empty text' of a view that had changed to 'Filtered HTML'. Changing it to php reset it back to 'none' and all is good again. I quess that in my case too it had to do with upgrading some of the modules to their latest versions.

thanx people.