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.
I'm getting this issue after updating to 2.1.9
Zhaan
✭✭
Hi! I just updated to 2.1.9, and I'm seeing this blank/unstyled page when I try to create a new discussion:
Any idea what's wrong? o-o
I've disabled all plugins and tried diff themes.. nothing helped.
0
Answers
Now it says:
New Discussion
Fatal error: Call to undefined method CategoryModel::GetByPermission() in /var/www/vhosts/testsite.com/httpdocs/library/core/class.form.php on line 256
I also cannot edit any users or usergroups now..
Did you create a backup before updating?
I did yes. Why, is this a problem that can't be fixed without reverting? o-o
Anyways, this is the piece of code mentioned in the error message:
// Grab the category data.
if (!$CategoryData) {
$CategoryData = CategoryModel::GetByPermission('Discussions.View', $Value,
GetValue('Filter', $Options, array('Archived' => 0)),
GetValue('PermFilter', $Options, array())
);
}
Delete all ini files in /cache
Run /utility/update
Try again
@R_J Done, but it didn't change anything
Maybe files are corrupt? Try to re-upload all the files.
What do you know, that solved it. I feel silly now.
Thank you kind sir!
partial upload is prime suspect, when missing core methods.
grep is your friend.