Since I installed the file attachment module, drupal shows a warning on the node-creation page :

warning: implode() [function.implode]: Invalid arguments passed in /homez.356/eyepack/
www/eyepack-test/sites/all/modules/attachments/attachments.themes.inc 
on line 53.

why does this occur and how can I fix it ?

Comments

leelooch’s picture

Don't worry about me : I fixed the problem by disabling the "Use the advanced File extensions display in every form that has file attachments." option in admin/settings/uploads/extensions/extensions and the warning disappeared.

A quick look at the code of attachments.theme.inc file made me understand the problem was about manipulating an array of strings in the theme_attachments_extensions function. As a newbie in modules' coding, it was too long and complicated for me to follow the incriminated array wich results from the "attachments_extensions" variable, I think. So, by disabling the advanced file extensions display option, this function is not called anymore and life is much better now.