HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Error on deleting activity recorde

When I try to delete activity record I have got message "The "ActivityController" object does not have a "xsanitize" method.|ActivityController|xsanitize|".

Comments

  • peregrineperegrine MVP
    edited November 2015

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

    RodSloan
  • I just downloaded Vanilla forums today and I am having the same issue - why wouldn't the admin add the patch to the files?

    I don't exactly understand the fix on GitHub - that's all Greek to me.

    I shouldn't have to hire a developer just to get this working properly.

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator

    You can apply the changes to the files affected, as explained by the last post in the thread that is linked (the changes are simply cut, copy and paste), or live without the fix until 2.2.1 is released.

    They are your options.

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator

    This worked for me:

    download and extract this branch of Vanilla

    https://github.com/vanilla/vanilla/tree/a428a867ccee453097f7dbf2e76dd47fd81da349

    In your Vanilla install, overwrite each of these files

    applications/dashboard/controllers/class.activitycontroller.php
    applications/dashboard/controllers/class.profilecontroller.php
    applications/dashboard/views/activity/delete.php
    applications/dashboard/views/profile/removepicture.php
    applications/vanilla/controllers/class.settingscontroller.php
    applications/vanilla/views/settings/deletecategoryphoto.php

    by copying them from the downloaded branch.

    Done.

    hgtonight
Sign In or Register to comment.