Active
Project:
File attachment utilities
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Mar 2012 at 01:30 UTC
Updated:
7 Apr 2012 at 01:03 UTC
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
Comment #1
leelooch commentedDon'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_extensionsfunction. 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.