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.

500: Internal server error

Hi all,
On my dashboard, I create a new message on apperance. When I enable this message, I get internal server error on my site. Other way, my site works well if i disable this message. Could you help me ?

Comments

  • you need to look in you server error log for the 500 error.

    grep is your friend.

  • [20-Jan-2016 09:28:35] PHP Fatal error: Call to protected method MessageModel::inCategory() from context '' in D:\xxx\vanilla\vanilla\applications\dashboard\models\class.messagemodel.php on line 184

    and PHP code:
    $Result = array_filter($Result, function ($Message) use ($CategoryID) {
    return MessageModel::inCategory($CategoryID, val('CategoryID', $Message), val('IncludeSubcategories', $Message));
    });
    @x00 pls give your thought

  • @pojo said:
    [20-Jan-2016 09:28:35] PHP Fatal error: Call to protected method MessageModel::inCategory() from context '' in D:\xxx\vanilla\vanilla\applications\dashboard\models\class.messagemodel.php on line 184

    and PHP code:
    $Result = array_filter($Result, function ($Message) use ($CategoryID) {
    return MessageModel::inCategory($CategoryID, val('CategoryID', $Message), val('IncludeSubcategories', $Message));
    });
    @x00 pls give your thought

    The issue is already open

    https://github.com/vanilla/vanilla/issues/3016

    grep is your friend.

  • @x00 thank you !

Sign In or Register to comment.