Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

FileUpload plugin not working on 2.2 isn't ?

This discussion is related to the fileupload addon.

Hi, When I try to install FileUpload 1.8 on latest Vanilla ( then I can't enabled it

The addon could not be enabled because it generated a fatal error:

PHP Fatal error: Call to undefined method CategoryModel::PermissionCategory() in /home/.../public_html/vanilla/plugins/FileUpload/class.fileupload.plugin.php on line 59

NB: this line should be the following but I'm php newbie ;-) I don't know what it means in fact...
$PermissionCategory = CategoryModel::PermissionCategory(Gdn::Controller()->Data('Category'));

May be my php (5.3.27) server config' is not right but not encounter this issue with Vanilla v2.1 (a33)



  • peregrineperegrine MVP
    edited September 2013

    Don't know if this helps.

    this forum ( that we are posting on, is currently using vanilla and file upload version 1.7.1 and it seems to work.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • yep, my first idea was to try this 1.7.1 version ;-) without the ability to restrict file uploads per category

    but I don't understand how to download it from GitHub, it seems too late, isn't ?

    Ok, it's enabled for now ;-) and I can upload files, delete them

  • PS: downloaded lastest "release", available from but ;-) you 're right there is a 'Master' branch including a lot of changes

  • Now... dashboard settings page is missing but may be ;-) it's "normal"

    None parameters were available from here, it's not important, this topic is solved ;-) thank you to you

Sign In or Register to comment.