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.
Options

I'm getting this issue after updating to 2.1.9

ZhaanZhaan Professional fool ✭✭
edited April 2015 in Vanilla 2.0 - 2.8

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.

Best Answer

Answers

  • Options
    ZhaanZhaan Professional fool ✭✭
    edited April 2015

    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..

  • Options

    Did you create a backup before updating?

  • Options
    ZhaanZhaan Professional fool ✭✭
    edited April 2015

    I did yes. Why, is this a problem that can't be fixed without reverting? o-o

  • Options
    ZhaanZhaan Professional fool ✭✭

    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())
    );
    }

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    Delete all ini files in /cache

    Run /utility/update

    Try again

  • Options
    ZhaanZhaan Professional fool ✭✭
    edited April 2015

    @R_J Done, but it didn't change anything :(

  • Options
    ZhaanZhaan Professional fool ✭✭

    What do you know, that solved it. I feel silly now.

    Thank you kind sir!

  • Options
    x00x00 MVP
    edited April 2015

    partial upload is prime suspect, when missing core methods.

    grep is your friend.

Sign In or Register to comment.