Everything was working fine, but know I can no longer attach any file.
The error started appearing when tried to attach a second file to the same node. Then, even the first file cannot be attached

I get the following error
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/controlc/www/sites/all/modules/fileframework/contrib/attach/file_attach.module on line 563.

I updated to the last dev, still the same

Thanks for looking at this problem

Comments

jvieille’s picture

Title: Cannot attach files anymore » Cannot attach more than one existing file at a time anymore

In fact, I can attach files.
The problem arise when hitting the "Update attachements" button in order to attach several files without saving the edit form.
If saving after each file, it works, but it is a crazy process when 2 or more files have to be attached.

miglius’s picture

Issue tags: +file_attach

Cannot replicate the issue. I have attached several new and existing files by clicking on "Update attachements" and then hit Save at the end. Everything worked as expected.

jvieille’s picture

I have installed FF on another site based on my multi-site server. It works perfectly.
Something goes wrong with this particular site.
Any idea?

johanneshahn’s picture

Status: Active » Closed (cannot reproduce)
jvieille’s picture

Priority: Normal » Minor
Status: Closed (cannot reproduce) » Postponed (maintainer needs more info)

This still happens erratically.
I changed the status and will be back if I can guess something

johanneshahn’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

no activity

jvieille’s picture

I still have this strange behavior.
If I attach a second file, it sometimes replaces the previous one.
This seems to happens only when attaching files to a node for the first time.
No problem when editing a node with at least one file attached already

johanneshahn’s picture

hi,
this problem does only happen sometimes on one of your server.
i think to debug this really strange behaviour would blow my support for FF.

you need professional help.