Undefined array key error in IpRepository::getSharedIpUsers

Status
This content is read-only, or is not open for further replies.

Painbaker

Guest
offline
If a user has been deleted but their ip record persists for some reason, this will cause error when trying to view their shared IP addresses:

Code:

Code:
[E_WARNING] Undefined array key 22 in src\XF\Mvc\Entity\AbstractCollection.php at line 104

    XF::handlePhpError() in src\XF\Mvc\Entity\AbstractCollection.php at line 104
    XF\Mvc\Entity\AbstractCollection->offsetGet() in src\XF\Repository\IpRepository.php at line 185
    XF\Repository\IpRepository->getSharedIpUsers() in src\XF\Entity\User.php at line...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom