Summary | Invalid arguments in ListView.php |
Queue | Turba |
Queue Version | HEAD |
Type | Bug |
State | No Feedback |
Priority | 1. Low |
Owners | Horde Developers (at) |
Requester | ville.heimonen (at) webille (dot) com |
Created | 09/26/2007 (6465 days ago) |
Due | |
Updated | 12/19/2007 (6381 days ago) |
Assigned | 10/19/2007 (6442 days ago) |
Resolved | 10/25/2007 (6436 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
/var/www/newhorde/turba/lib/ListView.php on line 467.
Also, how should items without names work with the alpha filter? I
guess they would only show up on the * page.
my horde database to the RC1 applications.
The error is thrown for me as this:-
Uninitialized string offset: 0 in
/var/www/newhorde/turba/lib/ListView.php on line 467.
This line is in the function skip :- if ($this->_alpha !=
'*' && String::lower($name[0]) != $this->_alpha) {
I did as suggested in the bug report and put in a print_r and I get a
null value printed 245 times ( I guess the skip function is called 245
times, then is finally starts printing out the names in my address
book. I suspect it's because many of my address book entries don't
have values for firstname or lastname.
I can prevent the error by putting an if statement on the ($name =
Turba::formatName($ob)
anyway, I thought I should update the bug thread as I was getting a
similar error.
Priority ⇒ 1. Low
State ⇒ No Feedback
before those lines? - just post the results of a print_r($sortorder);
Also, what are our name format prefs set to?
State ⇒ Assigned
forgot to update your prefs.php file?
Warnings still exists.
State ⇒ Feedback
forgot to update your prefs.php file?
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Queue ⇒ Turba
Summary ⇒ Invalid arguments in ListView.php
Type ⇒ Bug
Warning: Invalid argument supplied for foreach() in
/..path../cvs/horde/turba/lib/ListView.php on line 307
Warning: Invalid argument supplied for foreach() in
/..path../cvs/horde/turba/lib/ListView.php on line 337
I'm using very latest version of turba (CVS HEAD) on Linux
(Debian4.0unstable) server with PHP 5.2.4 and Apache 2.2.6.