<?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 displayed and logged whenever a message is deleted or restored</title> 
  <pubDate>Fri, 10 Apr 2026 01:05:00 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9845</link> 
  <atom:link rel="self" type="application/rss+xml" title="Error displayed and logged whenever a message is deleted or restored" href="https://bugs.horde.org/ticket/9845/rss" /> 
  <description>Error displayed and logged whenever a message is deleted or restored</description> 
 
   
   
  <item> 
   <title>in IMP traditional and dynamic Modes, whenever a message is </title> 
   <description>in IMP traditional and dynamic Modes, whenever a message is deleted or restore we see an error message in the web page and also is logged, the error los is like:
 [Thu Apr 07 22:38:38 2011] [error] [client XXX.XXX.XXX.XXX] PHP Fatal error:  Call to a member function get() on a non-object in /usr/share/php5/PEAR/Horde/Imap/Client/Socket.php on line 2931, referer: http://XXX.fi.upm.es/horde/imp/

I&#039;ve found that in version RC2 the code in the line 2931 was conditioned by a previous if in line 2921 of the RC version that checks for &quot;condstore&quot;, in the FINAL version this check was removed.

If we apply the attached patch the error goes away but I don&#039;t know if this patch my cause some other error or missing code</description> 
   <pubDate>Fri, 08 Apr 2011 14:26:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9845#t63317</link> 
  </item> 
   
  <item> 
   <title>It sort of sounds like your IMAP server is broken.  The only</title> 
   <description>It sort of sounds like your IMAP server is broken.  The only way this could happen is if your server sent MODSEQ information even if no CONDSTORE enabling command has been sent.

I will commit the patch since it doesn&#039;t add much overhead and will cover the situation I describe above.

For my personal information, could you provide an IMAP log of a mailbox SELECT/EXAMINE so I can verify this?  Details on how to get IMAP debug log is below

-----

To further debug this issue, we need details of the IMP -&gt; IMAP/POP communication.

To enable debugging, see instructions contained in imp/config/backends.php (the &#039;debug&#039; config parameter).  

Debugging should not be enabled on a production server,   Attach/post only the portion of the log that directly deals with the problem reported (it may be simplest to clear the log file and then perform the event that causes the error).</description> 
   <pubDate>Fri, 08 Apr 2011 17:15:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9845#t63328</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9845: F</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9845: Fix for IMAP servers that report MODSEQ information even though CONDSTORE has not been enabled

 2 files changed, 7 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/bbb5e8ffd3c3058d0e02ff481959e246f3b79821</description> 
   <pubDate>Fri, 08 Apr 2011 17:15:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9845#t63329</link> 
  </item> 
   
  <item> 
   <title>&gt; It sort of sounds like your IMAP server is broken.  The on</title> 
   <description>&gt; It sort of sounds like your IMAP server is broken.  The only way this 
&gt; could happen is if your server sent MODSEQ information even if no 
&gt; CONDSTORE enabling command has been sent.

Well is a typical dovecot 1.2.9 installation, and i&#039;m not the only one giving this error, if you see the distribution list there is another person with the same problem.

&gt;
&gt; I will commit the patch since it doesn&#039;t add much overhead and will 
&gt; cover the situation I describe above.
&gt;
&gt; For my personal information, could you provide an IMAP log of a 
&gt; mailbox SELECT/EXAMINE so I can verify this?  Details on how to get 
&gt; IMAP debug log is below

I&#039;ll try but I&#039;ve never done so.

&gt;
&gt; -----
&gt;
&gt; To further debug this issue, we need details of the IMP -&gt; IMAP/POP 
&gt; communication.
&gt;
&gt; To enable debugging, see instructions contained in 
&gt; imp/config/backends.php (the &#039;debug&#039; config parameter).
&gt;
&gt; Debugging should not be enabled on a production server,   Attach/post 
&gt; only the portion of the log that directly deals with the problem 
&gt; reported (it may be simplest to clear the log file and then perform 
&gt; the event that causes the error).
</description> 
   <pubDate>Fri, 08 Apr 2011 18:59:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9845#t63351</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; It sort of sounds like your IMAP server is broken.  The o</title> 
   <description>&gt;&gt; It sort of sounds like your IMAP server is broken.  The only way this
&gt;&gt; could happen is if your server sent MODSEQ information even if no
&gt;&gt; CONDSTORE enabling command has been sent.
&gt;
&gt; Well is a typical dovecot 1.2.9 installation, and i&#039;m not the only 
&gt; one giving this error, if you see the distribution list there is 
&gt; another person with the same problem.
&gt;
&gt;&gt;
&gt;&gt; I will commit the patch since it doesn&#039;t add much overhead and will
&gt;&gt; cover the situation I describe above.
&gt;&gt;
&gt;&gt; For my personal information, could you provide an IMAP log of a
&gt;&gt; mailbox SELECT/EXAMINE so I can verify this?  Details on how to get
&gt;&gt; IMAP debug log is below
&gt;
&gt; I&#039;ll try but I&#039;ve never done so.

There is a LOG I don&#039;t know if it has all you need but I&#039;ve done the same steps that produce the error.

Regards
&gt;
&gt;&gt;
&gt;&gt; -----
&gt;&gt;
&gt;&gt; To further debug this issue, we need details of the IMP -&gt; IMAP/POP
&gt;&gt; communication.
&gt;&gt;
&gt;&gt; To enable debugging, see instructions contained in
&gt;&gt; imp/config/backends.php (the &#039;debug&#039; config parameter).
&gt;&gt;
&gt;&gt; Debugging should not be enabled on a production server,   Attach/post
&gt;&gt; only the portion of the log that directly deals with the problem
&gt;&gt; reported (it may be simplest to clear the log file and then perform
&gt;&gt; the event that causes the error).
&gt;
</description> 
   <pubDate>Fri, 08 Apr 2011 19:11:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9845#t63354</link> 
  </item> 
   
  <item> 
   <title>&gt; There is a LOG I don&#039;t know if it has all you need but I&#039;v</title> 
   <description>&gt; There is a LOG I don&#039;t know if it has all you need but I&#039;ve done the 
&gt; same steps that produce the error.

This was fine.  Sure enough, the server is returning HIGHESTMODSEQ information even though we are not requesting it.  I&#039;ll ask Timo if this is appropriate.

The change made in this ticket fixes this issue.</description> 
   <pubDate>Fri, 08 Apr 2011 19:22:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9845#t63356</link> 
  </item> 
   
  <item> 
   <title>Re-reading RFC 4551, looks like Timo is correct.  modsequenc</title> 
   <description>Re-reading RFC 4551, looks like Timo is correct.  modsequences always need to be sent in SELECT/EXAMINE responses if the CONDSTORE extension is available.</description> 
   <pubDate>Fri, 08 Apr 2011 19:26:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9845#t63357</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
