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?
JoakimT
New
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:
0
Comments
Thanks for trying my addon!
What version of Yaga are you running?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Im running Version 1.0
Would you mind sharing a dump of your Rank db table?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Here you go, not much in there
Hm... nothing that seems out of the ordinary there.
Could you please add the following before line 466 in
/applications/yaga/settings/class.hooks.php
:Reload your page and paste what you see back here.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.