<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Error in Client-&gt;search()</title> 
  <pubDate>Thu, 09 Apr 2026 21:49:29 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8961</link> 
  <atom:link rel="self" type="application/rss+xml" title="Error in Client-&gt;search()" href="https://bugs.horde.org/ticket/8961/rss" /> 
  <description>Error in Client-&gt;search()</description> 
 
   
   
  <item> 
   <title>( ! ) Notice: Undefined index: sort in /home/jan/horde-git/f</title> 
   <description>( ! ) Notice: Undefined index: sort in /home/jan/horde-git/framework/Imap_Client/lib/Horde/Imap/Client/Base.php on line 1477
Call Stack
#	Time	Memory	Function	Location
1	0,0054	686724	{main}( )	../mailbox.php:0
2	2,0629	14072060	IMP_Mailbox-&gt;buildMailboxPage( &#039;1&#039;, NULL, ??? )	../mailbox.php:227
3	2,0629	14072176	IMP_Mailbox-&gt;_buildMailbox( )	../Mailbox.php:519
4	2,0827	14343580	IMP_Search-&gt;imapSearch( &#039;INBOX&#039;, NULL, array (&#039;sort&#039; =&gt; array (0 =&gt; &#039;161&#039;), &#039;reverse&#039; =&gt; TRUE) )	../Mailbox.php:348
5	2,0827	14343740	Horde_Imap_Client_Base-&gt;search( &#039;INBOX&#039;, NULL, array (&#039;sort&#039; =&gt; array (0 =&gt; &#039;161&#039;), &#039;reverse&#039; =&gt; TRUE) )	../Search.php:344

$options:
array
  &#039;sort&#039; =&gt; 
    array
      0 =&gt; string &#039;161&#039; (length=3)
  &#039;reverse&#039; =&gt; boolean true
  &#039;results&#039; =&gt; 
    array
      0 =&gt; int 2
      1 =&gt; int 1
  &#039;_query&#039; =&gt; 
    array
      &#039;charset&#039; =&gt; string &#039;US-ASCII&#039; (length=8)
      &#039;exts&#039; =&gt; 
        array
          empty
      &#039;imap4&#039; =&gt; boolean false
      &#039;query&#039; =&gt; string &#039;ALL&#039; (length=3)

$ret:
array
  &#039;match&#039; =&gt; 
    array
      0 =&gt; string &#039;55721&#039; (length=5)
      1 =&gt; string &#039;73684&#039; (length=5)
      2 =&gt; string &#039;76527&#039; (length=5)
      3 =&gt; string &#039;76588&#039; (length=5)
      4 =&gt; string &#039;76591&#039; (length=5)
      5 =&gt; string &#039;86731&#039; (length=5)
      6 =&gt; string &#039;103113&#039; (length=6)
      7 =&gt; string &#039;108842&#039; (length=6)
      8 =&gt; string &#039;119429&#039; (length=6)
      9 =&gt; string &#039;122132&#039; (length=6)
      10 =&gt; string &#039;127950&#039; (length=6)
      11 =&gt; string &#039;128290&#039; (length=6)
      12 =&gt; string &#039;135928&#039; (length=6)
      13 =&gt; string &#039;135940&#039; (length=6)
      14 =&gt; string &#039;142273&#039; (length=6)
      15 =&gt; string &#039;142914&#039; (length=6)
      16 =&gt; string &#039;166869&#039; (length=6)
      17 =&gt; string &#039;170018&#039; (length=6)
      18 =&gt; string &#039;171562&#039; (length=6)
      19 =&gt; string &#039;173586&#039; (length=6)
      20 =&gt; string &#039;173662&#039; (length=6)
      21 =&gt; string &#039;173706&#039; (length=6)
      22 =&gt; string &#039;175599&#039; (length=6)
      23 =&gt; string &#039;175692&#039; (length=6)
      24 =&gt; string &#039;175816&#039; (length=6)
      25 =&gt; string &#039;177278&#039; (length=6)
      26 =&gt; string &#039;177358&#039; (length=6)
      27 =&gt; string &#039;178049&#039; (length=6)
      28 =&gt; string &#039;178661&#039; (length=6)
      29 =&gt; string &#039;179694&#039; (length=6)
      30 =&gt; string &#039;180119&#039; (length=6)
      31 =&gt; string &#039;181094&#039; (length=6)
      32 =&gt; string &#039;181118&#039; (length=6)
      33 =&gt; string &#039;181122&#039; (length=6)
      34 =&gt; string &#039;181338&#039; (length=6)
      35 =&gt; string &#039;184164&#039; (length=6)
      36 =&gt; string &#039;184848&#039; (length=6)
      37 =&gt; string &#039;186094&#039; (length=6)
      38 =&gt; string &#039;186756&#039; (length=6)
      39 =&gt; string &#039;187059&#039; (length=6)
      40 =&gt; string &#039;187076&#039; (length=6)
      41 =&gt; string &#039;188416&#039; (length=6)
      42 =&gt; string &#039;188466&#039; (length=6)
      43 =&gt; string &#039;188642&#039; (length=6)
      44 =&gt; string &#039;188907&#039; (length=6)
      45 =&gt; string &#039;189008&#039; (length=6)
      46 =&gt; string &#039;189010&#039; (length=6)
      47 =&gt; string &#039;190348&#039; (length=6)
      48 =&gt; string &#039;190880&#039; (length=6)
      49 =&gt; string &#039;191123&#039; (length=6)
      50 =&gt; string &#039;192956&#039; (length=6)
      51 =&gt; string &#039;194127&#039; (length=6)
      52 =&gt; string &#039;194235&#039; (length=6)
      53 =&gt; string &#039;195944&#039; (length=6)
      54 =&gt; string &#039;196164&#039; (length=6)
      55 =&gt; string &#039;196606&#039; (length=6)
      56 =&gt; string &#039;202535&#039; (length=6)
      57 =&gt; string &#039;205645&#039; (length=6)
      58 =&gt; string &#039;206022&#039; (length=6)
      59 =&gt; string &#039;206023&#039; (length=6)
      60 =&gt; string &#039;206024&#039; (length=6)
      61 =&gt; string &#039;206295&#039; (length=6)
      62 =&gt; string &#039;206788&#039; (length=6)
      63 =&gt; string &#039;206818&#039; (length=6)
      64 =&gt; string &#039;206993&#039; (length=6)
      65 =&gt; string &#039;207164&#039; (length=6)
      66 =&gt; string &#039;207229&#039; (length=6)
      67 =&gt; string &#039;207254&#039; (length=6)
      68 =&gt; string &#039;207313&#039; (length=6)
      69 =&gt; string &#039;207439&#039; (length=6)
      70 =&gt; string &#039;207531&#039; (length=6)
      71 =&gt; string &#039;207671&#039; (length=6)
      72 =&gt; string &#039;208041&#039; (length=6)
      73 =&gt; string &#039;208282&#039; (length=6)
      74 =&gt; string &#039;208283&#039; (length=6)
      75 =&gt; string &#039;208285&#039; (length=6)
      76 =&gt; string &#039;208286&#039; (length=6)
      77 =&gt; string &#039;208299&#039; (length=6)
      78 =&gt; string &#039;208300&#039; (length=6)
      79 =&gt; string &#039;208303&#039; (length=6)
      80 =&gt; string &#039;208304&#039; (length=6)
      81 =&gt; string &#039;208306&#039; (length=6)
      82 =&gt; string &#039;208310&#039; (length=6)
      83 =&gt; string &#039;208319&#039; (length=6)
      84 =&gt; string &#039;208324&#039; (length=6)
      85 =&gt; string &#039;208328&#039; (length=6)
      86 =&gt; string &#039;208367&#039; (length=6)
      87 =&gt; string &#039;208372&#039; (length=6)
      88 =&gt; string &#039;209656&#039; (length=6)
      89 =&gt; string &#039;210813&#039; (length=6)
      90 =&gt; string &#039;211151&#039; (length=6)
      91 =&gt; string &#039;211652&#039; (length=6)
      92 =&gt; string &#039;211722&#039; (length=6)
      93 =&gt; string &#039;211782&#039; (length=6)
      94 =&gt; string &#039;212054&#039; (length=6)
      95 =&gt; string &#039;212242&#039; (length=6)
      96 =&gt; string &#039;212317&#039; (length=6)
      97 =&gt; string &#039;212540&#039; (length=6)
      98 =&gt; string &#039;212543&#039; (length=6)
      99 =&gt; string &#039;212561&#039; (length=6)
      100 =&gt; string &#039;212571&#039; (length=6)
      101 =&gt; string &#039;212574&#039; (length=6)
      102 =&gt; string &#039;212596&#039; (length=6)
      103 =&gt; string &#039;212697&#039; (length=6)
      104 =&gt; string &#039;212744&#039; (length=6)
      105 =&gt; string &#039;212785&#039; (length=6)
      106 =&gt; string &#039;212845&#039; (length=6)
      107 =&gt; string &#039;212877&#039; (length=6)
      108 =&gt; string &#039;212882&#039; (length=6)
  &#039;count&#039; =&gt; int 109
</description> 
   <pubDate>Tue, 13 Apr 2010 11:51:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8961#t58466</link> 
  </item> 
   
  <item> 
   <title>&gt; ( ! ) Notice: Undefined index: sort in 
&gt; /home/jan/horde</title> 
   <description>&gt; ( ! ) Notice: Undefined index: sort in 
&gt; /home/jan/horde-git/framework/Imap_Client/lib/Horde/Imap/Client/Base.php on 
&gt; line 1477

#1 - there is nothing on line 1477 of Base.php (it is a closing bracket)
#2 - int value 161 is an invalid sort - that was the IMP 4 threadsort, but this value would have been automatically converted via the SystemTask.  Try running:
horde/bin/run_task -a imp -t UpgradeFromImp4 -u [your username]</description> 
   <pubDate>Wed, 14 Apr 2010 05:47:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8961#t58480</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

These method</title> 
   <description>Changes have been made in Git for this ticket:

These methods are not provided by IMP therefore we must check for them before calling.
This was preventing ALL of imp&#039;s prefs from being loaded, since Horde_Prefs::_loadDefaults()
was catching the exception and returning. This fixes Bug: # 8962 and possibly Bug: #8961

http://git.horde.org/diff.php/imp/config/prefs.php.dist?rt=horde-git&amp;r1=375ca9376b445764324b61a623a9a4b2c9fac567&amp;r2=a874d22a44cd43c6c0c67be106e8055c7dd54df1</description> 
   <pubDate>Wed, 14 Apr 2010 18:42:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8961#t58493</link> 
  </item> 
   
  <item> 
   <title>Jan, did this fix your issue?</title> 
   <description>Jan, did this fix your issue?</description> 
   <pubDate>Wed, 14 Apr 2010 18:45:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8961#t58496</link> 
  </item> 
   
  <item> 
   <title>No, it was what Michael said.</title> 
   <description>No, it was what Michael said.</description> 
   <pubDate>Wed, 14 Apr 2010 22:04:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8961#t58498</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
