<?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>array_merge() : Argument #2 is not an array in kronolith/lib/Driver/sql.php</title> 
  <pubDate>Fri, 10 Apr 2026 05:21:32 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6865</link> 
  <atom:link rel="self" type="application/rss+xml" title="array_merge() : Argument #2 is not an array in kronolith/lib/Driver/sql.php" href="https://bugs.horde.org/ticket/6865/rss" /> 
  <description>array_merge() : Argument #2 is not an array in kronolith/lib/Driver/sql.php</description> 
 
   
   
  <item> 
   <title>When accepting an invit, after clicking &#039;go&#039; (&quot;accept and ad</title> 
   <description>When accepting an invit, after clicking &#039;go&#039; (&quot;accept and add to my calendar&quot;) I get the following warnings in Apache&#039;s log file :

[Mon Jun 09 10:26:04 2008] [error] [client 192.168.1.73] PHP Warning:  array_merge() [&lt;a href=&#039;function.array-merge&#039;&gt;function.array-merge&lt;/a&gt;]: Argument #2 is not an array in /var/www/html/horde/kronolith/lib/Driver/sql.php on line 421, referer: http://192.168.1.22/horde/imp/message.php?mailbox=INBOX&amp;index=2973

[Mon Jun 09 10:26:04 2008] [error] [client 192.168.1.73] PHP Warning:  implode() [&lt;a href=&#039;function.implode&#039;&gt;function.implode&lt;/a&gt;]: Invalid arguments passed in /var/www/html/horde/kronolith/lib/Driver/sql.php on line 426, referer: http://192.168.1.22/horde/imp/message.php?mailbox=INBOX&amp;index=2973



and /tmp/horde.log

Jun 09 10:38:53 HORDE [debug] [kronolith] Kronolith_Driver_sql::getByUID(): user = &quot;ronan&quot;; query = &quot;SELECT event_id, event_uid, calendar_id, event_description, event_location, event_private, event_status, event_attendees, event_keywords, event_title, event_category, event_recurcount, event_recurtype, event_recurenddate, event_recurinterval, event_recurdays, event_start, event_end, event_alarm, event_modified, event_exceptions, event_creator_id FROM kronolith_events WHERE event_uid = ? AND calendar_id IN (?)&quot;; values = &quot;&quot; [pid 19223 on line 427 of &quot;/var/www/html/horde/kronolith/lib/Driver/sql.php&quot;]

Jun 09 10:38:53 HORDE [error] [kronolith] DB Error: syntax error: SELECT event_id, event_uid, calendar_id, event_description, event_location, event_private, event_status, event_attendees, event_keywords, event_title, event_category, event_recurcount, event_recurtype, event_recurenddate, event_recurinterval, event_recurdays, event_start, event_end, event_alarm, event_modified, event_exceptions, event_creator_id FROM kronolith_events WHERE event_uid = ? AND calendar_id IN (?) [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;? AND calendar_id IN (?)&#039; at line 1] [pid 19223 on line 431 of &quot;/var/www/html/horde/kronolith/lib/Driver/sql.php&quot;]





The event is added and the reply is sent.

</description> 
   <pubDate>Mon, 09 Jun 2008 09:19:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6865#t46110</link> 
  </item> 
   
  <item> 
   <title>&gt; not an array in /var/www/html/horde/kronolith/lib/Driver/s</title> 
   <description>&gt; not an array in /var/www/html/horde/kronolith/lib/Driver/sql.php on 

&gt; line 421, referer: 



Can you put a var_dump($calendars); on this line and post the output?</description> 
   <pubDate>Tue, 10 Jun 2008 08:43:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6865#t46173</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; not an array in /var/www/html/horde/kronolith/lib/Driver/</title> 
   <description>&gt;&gt; not an array in /var/www/html/horde/kronolith/lib/Driver/sql.php on

&gt;&gt; line 421, referer:

&gt;

&gt; Can you put a var_dump($calendars); on this line and post the output?



string(5) &quot;ronan&quot;</description> 
   <pubDate>Tue, 10 Jun 2008 10:18:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6865#t46179</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/kronolith/lib/api.php?r1=1.228&amp;r2=1.229&amp;ty=u</description> 
   <pubDate>Tue, 10 Jun 2008 10:38:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6865#t46180</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/kronolith/lib/api.php?r1=1.229&amp;r2=1.230&amp;ty=u</description> 
   <pubDate>Tue, 10 Jun 2008 10:40:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6865#t46181</link> 
  </item> 
   
  <item> 
   <title>Fixed.</title> 
   <description>Fixed.</description> 
   <pubDate>Tue, 10 Jun 2008 10:41:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6865#t46182</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
