After upgrading from 1.6 to 2.9, I’m getting the errors below when trying to bring up the File Upload preferences, on Publish forms, and other pages. The errors occurred when I was running PHP 5.3.x (the .x is the best indication I could get from Dreamhost) So now I’m running PHP 5.4.x and it says “Fast CGI” after the 5.4.x.
A PHP Error was encountered
Severity: Warning
Message: array_merge(): Argument #2 is not an array
Filename: models/file_upload_preferences_model.php
Line Number: 111
A PHP Error was encountered
Severity: Warning
Message: array_merge(): Argument #2 is not an array
Filename: models/file_upload_preferences_model.php
Line Number: 111
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/siplg/seedip-dev.dreamhosters.com/s33dSystem/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 442I also had Mark Huot’s File extension running in 1.6 and was going to try and run this fix next: https://ellislab.com/forums/viewthread/218268/
so I was trying to get the upload directory ID from the File Upload Preferences.