Some kind of permission issue in 2.5
Just updated to 2.5, and while most things seem to run smoothly(ish), but I'm running into this error, when I try to enable the discussion images:
PermissionModel->PermissionModel::define was called with an invalid $PermissionNames parameter.
Looking at the code, the only permissions mentioned in there are 'Garden.Settings.Manage'.
I did have a look at general-2-5-plugin-compatibility-issues for advice, but it looks like this is a different issue.
Any idea where I should look?