6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6813] Warning: Cannot use a scalar value as an array in Tree.php on line 1139
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.. ..__ . .__ _/ | |[__)| [__) ./__.|__|| |___|
Comment
> We make heavy use of shared/public folders. I was trying to find a > way to make the folders display more like what my users see on their > desktop and that is have their private folders under INBOX and the > shared folders on the same level as INBOX. I've read the futile > tickets on that subject so I won't complain. The warning message > "Warning: Cannot use a scalar value as an array in Tree.php on line > 1139" occurs when I switch to "show non-private mailboxes in separate > folders". It says warning but the web page fails to render properly. > The alternative "combine all namespaces" has no problems but it is > also what I am trying to avoid. We are using a dovecot server and my > namespace configuration (cut to show a few shared/public folders) is > > > > $servers['imap'] = array( > > 'name' => 'Mail Server', > > 'server' => 'localhost', > > 'hordeauth' => true, > > 'protocol' => 'imap/notls', > > 'port' => '143', > > 'imap_config' => array( > > 'children' => true, > > 'namespace' => array( > > 'INBOX.' => array( > > 'name' => 'INBOX.', > > 'delimiter' => '.', > > 'type' => 'personal', > > 'hidden' => false > > ), > > 'COMPANY.' => array( > > 'name' => 'COMPANY.', > > 'delimiter' => '.', > > 'type' => 'shared', > > 'hidden' => false > > ), > > 'ROOTMAIL.' => array( > > 'name' => 'ROOTMAIL.', > > 'delimiter' => '.', > > 'type' => 'shared', > > 'hidden' => false > > ) > > ), > > 'search_charset' => array( > > 'UTF-8' => true > > ) > > ) > > ); > > > > The function causing the problem is > > > > function _setAttribute(&$elt, $const, $bool) > > { > > if ($bool) { > > $elt['a'] |= $const; <--- line 1139 > > } else { > > $elt['a'] &= ~$const; > > } > > } > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers