Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File upload error with Craft 2.5 #58

Open
sarah3585 opened this issue Dec 1, 2015 · 2 comments
Open

File upload error with Craft 2.5 #58

sarah3585 opened this issue Dec 1, 2015 · 2 comments

Comments

@sarah3585
Copy link

Hello,

I'm getting a php warning on submission when a file has been uploaded.

array_merge(): Argument #1 is not an array

AssetsFieldType.php(266)

266 $fileIds = array_merge($value, $fileIds);

@MarketSouth
Copy link

Same here, has anyone resolved this?.

I'll come back here and update this if I do.

@MarketSouth
Copy link

Well I feel a little embarrassed I didn't have enctype="multipart/form-data" on my form.

Hope this saves someone pulling their hair out.

Cheers (#51 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants