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.

Why do i get this error when DEBUG is on?

JoakimTJoakimT New
edited November 2014 in Vanilla 2.0 - 2.8
Fatal Error in YagaHooks.UserModel_AfterGetSession_Handler();

Invalid argument supplied for foreach()
The error occurred on or near: /forum/applications/yaga/settings/class.hooks.php
463:     $RankModel = Yaga::RankModel();
464:     $Perks = $RankModel->GetPerks($RankID);
465:     
466:     // Apply all the perks
467:     foreach($Perks as $Perk => $PerkValue) {
468:       $PerkType = substr($Perk, 0, 4);
469:       $PerkKey = substr($Perk, 4);
470:       
471:       if($PerkType === 'Conf') {
Backtrace:

Comments

Sign In or Register to comment.