Undefined array key "joined_profile"

[04-Jun-2024 08:44:43 UTC] PHP Warning:  Undefined array key "joined_profile" in /modules/boonex/organizations/classes/BxOrgsSearchResult.php on line 106

I have this warning in my error logs after someone signs up. It's only a warning; everything is working fine. Still, I like to get rid of warnings when possible. Let me know if I should submit this as an issue at GitHub.

  • 164
  • More
Replies (1)
    • I apllied the following fix:

              case 'joined_entries':
                  $iJoinedProfileId = $aParams['joined_profile'] ?? null;
                  $oJoinedProfile = $iJoinedProfileId ? BxDolProfile::getInstance((int)$iJoinedProfileId) : null;
                  if (!$oJoinedProfile) {
                      $this->isError = true;
                      break;
                  }
      
      Login or Join to comment.