Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
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|".
0
Comments
yes same error here in this discussion:
http://vanillaforums.org/discussion/comment/235756/#Comment_235756
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
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.
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.
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.