Closed BenjMichel closed 10 years ago
What's your line 93? In the source its a method declaration so it doesn't make sense.
https://github.com/milesj/uploader/blob/master/Model/Behavior/FileValidationBehavior.php#L93
It's the line: $this->settings[$model->alias][$field] = $options + array('required' => true);
Debug the $settings
variable, what is it? This error should never occur.
Hello, with php 5.4.17 and Uploader 4.4.0 or 4.5.0, I have got an error: Fatal error: Unsupported operand types in /app/Plugin/Uploader/Model/Behavior/FileValidationBehavior.php on line 93
But it works fine with php 5.5.3 Thanks.