[Tickets #12827] Re: PHP ERROR: array_intersect_key() when purging deleted items

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Nov 19 05:13:54 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12827
------------------------------------------------------------------------------
  Ticket             | 12827
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | PHP ERROR: array_intersect_key() when purging deleted
                     | items
  Queue              | IMP
  Version            | 6.1.5
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2013-11-18 22:13) wrote:

> 2013-11-18T23:04:01+00:00 DEBUG: Variable information:
> array(1) {
>   ["INBOX"]=>
>   &NULL
> }

I have absolutely no idea how this value can be null.

The _slicemap variable, at the mailbox level, can only be altered in  
these locations:

save()  - no way this can be set to null.
clear() - this would destroy the INBOX key, so that's not it
_deleteMailbox - see (clear) - would destroy the INBOX key entirely.

That leaves _loadSliceMap().  But this can't be it either.  _slicemap  
is only set from cache data IF the unserialized data is an array.   
Otherwise, the slicemap is recreated as an array value.

I am totally out of ideas.  Someone is going to have to track this  
down locally.  I can neither reproduce, and there is no place in the  
code where this can happen that I can see.





More information about the bugs mailing list