<?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>Horde_Routes: Array to string conversion</title> 
  <pubDate>Fri, 10 Apr 2026 13:36:19 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/11894</link> 
  <atom:link rel="self" type="application/rss+xml" title="Horde_Routes: Array to string conversion" href="https://bugs.horde.org/ticket/11894/rss" /> 
  <description>Horde_Routes: Array to string conversion</description> 
 
   
   
  <item> 
   <title>When running test suite:
1) Horde_Routes_GenerationTest::te</title> 
   <description>When running test suite:
1) Horde_Routes_GenerationTest::testUrlWithEnviron
Array to string conversion
/dev/shm/BUILDROOT/php-horde-Horde-Routes-2.0.1-1.fc17.remi.x86_64/usr/share/pear/Horde/Routes/Mapper.php:596
/dev/shm/BUILD/php-horde-Horde-Routes-2.0.1/Horde_Routes-2.0.1/test/Horde/Routes/GenerationTest.php:732
...

I know this warning is new in PHP 5.4 which is not supported, but at least it allow to detect an issue.

Reading the code, kargs is obviously an array, so $cacheKeyScriptName is going to always be set to &quot;array&quot; (which is the standard behavior in PHP 5.3, and which raise a warning in PHP &gt;= 5.4

The proposed patch use &quot;serialize&quot; to transform $kargs to something usable as a array index.
</description> 
   <pubDate>Sat, 15 Dec 2012 15:14:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11894#t75709</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 2cf53565d528</title> 
   <description>Changes have been made in Git (master):

commit 2cf53565d5283a8d9d4b08a512d269d5931f8430
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Tue Jan 8 00:21:20 2013 +0100

    [jan] Fix generating cache key for generated URLs (remi@famillecollet.com, Bug #11894).

 framework/Routes/lib/Horde/Routes/Mapper.php |    2 +-
 framework/Routes/package.xml                 |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/2cf53565d5283a8d9d4b08a512d269d5931f8430</description> 
   <pubDate>Mon, 07 Jan 2013 23:22:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11894#t76019</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
