<?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>problems with hooks </title> 
  <pubDate>Fri, 10 Apr 2026 16:31:11 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9677</link> 
  <atom:link rel="self" type="application/rss+xml" title="problems with hooks " href="https://bugs.horde.org/ticket/9677/rss" /> 
  <description>problems with hooks </description> 
 
   
   
  <item> 
   <title>hooks don&#039;t work anymore, see parts of horde.log :


2011</title> 
   <description>hooks don&#039;t work anymore, see parts of horde.log :


2011-03-18T09:26:10+01:00 DEBUG: HORDE [horde] Load config file (nls.php; app: horde) [pid 30150 on line 786 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T09:26:10+01:00 DEBUG: HORDE [horde] Load config file (prefs.php; app: horde) [pid 30150 on line 786 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T09:26:10+01:00 DEBUG: HORDE [horde] PHP ERROR: Object of class Horde_Prefs_Scope could not be converted to string [pid 30150 on line 1737 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T09:26:10+01:00 DEBUG:  1. Horde_Registry::appInit() /var/www/html/hordetest/login.php:56
 2. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:238
 3. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1273
 4. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1440
 5. Horde_Prefs-&gt;__construct() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:135
 6. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Prefs.php:108
 7. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:334
 8. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
 9. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
10. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1709
11. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1737

2011-03-18T09:26:10+01:00 DEBUG: HORDE [horde] PHP ERROR: Illegal offset type in isset or empty [pid 30150 on line 1739 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T09:26:10+01:00 DEBUG:  1. Horde_Registry::appInit() /var/www/html/hordetest/login.php:56
 2. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:238
 3. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1273
 4. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1440
 5. Horde_Prefs-&gt;__construct() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:135
 6. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Prefs.php:108
 7. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:334
 8. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
 9. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
10. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1709
11. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1739

2011-03-18T09:26:10+01:00 DEBUG: HORDE [horde] PHP ERROR: Illegal offset type [pid 30150 on line 1740 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T09:26:10+01:00 DEBUG:  1. Horde_Registry::appInit() /var/www/html/hordetest/login.php:56
 2. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:238
 3. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1273
 4. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1440
 5. Horde_Prefs-&gt;__construct() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:135
 6. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Prefs.php:108
 7. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:334
 8. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
 9. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
10. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1709
11. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1740

...


2011-03-18T09:26:10+01:00 DEBUG: HORDE [imp] Load config file (conf.php; app: imp) [pid 30150 on line 786 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T09:26:10+01:00 DEBUG: HORDE [imp] Load config file (prefs.php; app: imp) [pid 30150 on line 786 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T09:26:10+01:00 DEBUG: HORDE [imp] PHP ERROR: Object of class Horde_Prefs_Scope could not be converted to string [pid 30150 on line 1737 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T09:26:10+01:00 DEBUG:  1. Horde_Registry-&gt;isAuthenticated() /var/www/html/hordetest/login.php:60
 2. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Registry.php:1792
 3. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:301
 4. Horde_Registry-&gt;callAppMethod() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:303
 5. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:1027
 6. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1273
 7. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1440
 8. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:88
 9. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:336
10. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
11. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
12. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1709
13. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1737

2011-03-18T09:26:10+01:00 DEBUG: HORDE [imp] PHP ERROR: Illegal offset type in isset or empty [pid 30150 on line 1739 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T09:26:10+01:00 DEBUG:  1. Horde_Registry-&gt;isAuthenticated() /var/www/html/hordetest/login.php:60
 2. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Registry.php:1792
 3. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:301
 4. Horde_Registry-&gt;callAppMethod() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:303
 5. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:1027
 6. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1273
 7. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1440
 8. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:88
 9. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:336
10. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
11. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
12. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1709
13. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1739

2011-03-18T09:26:10+01:00 DEBUG: HORDE [imp] PHP ERROR: Illegal offset type [pid 30150 on line 1740 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T09:26:10+01:00 DEBUG:  1. Horde_Registry-&gt;isAuthenticated() /var/www/html/hordetest/login.php:60
 2. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Registry.php:1792
 3. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:301
 4. Horde_Registry-&gt;callAppMethod() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:303
 5. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:1027
 6. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1273
 7. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1440
 8. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:88
 9. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:336
10. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
11. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
12. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1709
13. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1740

...

</description> 
   <pubDate>Fri, 18 Mar 2011 08:42:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62413</link> 
  </item> 
   
  <item> 
   <title>&gt; 2011-03-18T09:26:10+01:00 DEBUG: HORDE [horde] PHP ERROR: </title> 
   <description>&gt; 2011-03-18T09:26:10+01:00 DEBUG: HORDE [horde] PHP ERROR: Object of 
&gt; class Horde_Prefs_Scope could not be converted to string [pid 30150 
&gt; on line 1737 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]

This line doesn&#039;t contain any code.</description> 
   <pubDate>Fri, 18 Mar 2011 09:16:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62415</link> 
  </item> 
   
  <item> 
   <title>&gt; This line doesn&#039;t contain any code.

Sorry,  I probably </title> 
   <description>&gt; This line doesn&#039;t contain any code.

Sorry,  I probably altered the code here at some point. Here is the trace using a clean code.

2011-03-18T10:13:22+01:00 DEBUG: HORDE [horde] Load config file (nls.php; app: horde) [pid 30150 on line 799 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T10:13:22+01:00 DEBUG: HORDE [horde] Load config file (prefs.php; app: horde) [pid 30150 on line 799 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T10:13:22+01:00 DEBUG: HORDE [horde] PHP ERROR: Object of class Horde_Prefs_Scope could not be converted to string [pid 30150 on line 1750 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T10:13:22+01:00 DEBUG:  1. Horde_Registry::appInit() /var/www/html/hordetest/login.php:56
 2. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:238
 3. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1276
 4. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1443
 5. Horde_Prefs-&gt;__construct() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:135
 6. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Prefs.php:108
 7. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:334
 8. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
 9. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
10. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1722
11. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1750

2011-03-18T10:13:22+01:00 WARN: HORDE [horde] PHP ERROR: Illegal offset type in isset or empty [pid 30150 on line 1752 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T10:13:22+01:00 DEBUG:  1. Horde_Registry::appInit() /var/www/html/hordetest/login.php:56
 2. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:238
 3. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1276
 4. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1443
 5. Horde_Prefs-&gt;__construct() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:135
 6. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Prefs.php:108
 7. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:334
 8. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
 9. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
10. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1722
11. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1752

2011-03-18T10:13:22+01:00 WARN: HORDE [horde] PHP ERROR: Illegal offset type [pid 30150 on line 1753 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T10:13:22+01:00 DEBUG:  1. Horde_Registry::appInit() /var/www/html/hordetest/login.php:56
 2. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:238
 3. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1276
 4. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1443
 5. Horde_Prefs-&gt;__construct() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:135
 6. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Prefs.php:108
 7. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:334
 8. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
 9. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
10. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1722
11. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1753

2011-03-18T10:13:22+01:00 DEBUG: HORDE [horde] Load config file (hooks.php; app: imp) [pid 30150 on line 799 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T10:13:22+01:00 DEBUG: HORDE [imp] Load config file (conf.php; app: imp) [pid 30150 on line 799 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T10:13:22+01:00 DEBUG: HORDE [imp] Load config file (prefs.php; app: imp) [pid 30150 on line 799 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T10:13:22+01:00 DEBUG: HORDE [imp] PHP ERROR: Object of class Horde_Prefs_Scope could not be converted to string [pid 30150 on line 1750 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T10:13:22+01:00 DEBUG:  1. Horde_Registry-&gt;isAuthenticated() /var/www/html/hordetest/login.php:60
 2. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Registry.php:1795
 3. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:301
 4. Horde_Registry-&gt;callAppMethod() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:303
 5. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:1030
 6. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1276
 7. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1443
 8. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:88
 9. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:336
10. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
11. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
12. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1722
13. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1750

2011-03-18T10:13:22+01:00 WARN: HORDE [imp] PHP ERROR: Illegal offset type in isset or empty [pid 30150 on line 1752 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T10:13:22+01:00 DEBUG:  1. Horde_Registry-&gt;isAuthenticated() /var/www/html/hordetest/login.php:60
 2. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Registry.php:1795
 3. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:301
 4. Horde_Registry-&gt;callAppMethod() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:303
 5. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:1030
 6. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1276
 7. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1443
 8. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:88
 9. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:336
10. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
11. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
12. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1722
13. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1752

...

2011-03-18T10:13:22+01:00 WARN: HORDE [imp] PHP ERROR: Illegal offset type [pid 30150 on line 1753 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]
2011-03-18T10:13:22+01:00 DEBUG:  1. Horde_Registry-&gt;isAuthenticated() /var/www/html/hordetest/login.php:60
 2. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Registry.php:1795
 3. Horde_Core_Auth_Application-&gt;transparent() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:301
 4. Horde_Registry-&gt;callAppMethod() /var/www/html/hordetest/libs/Horde/Core/Auth/Application.php:303
 5. Horde_Registry-&gt;pushApp() /var/www/html/hordetest/libs/Horde/Registry.php:1030
 6. Horde_Registry-&gt;loadPrefs() /var/www/html/hordetest/libs/Horde/Registry.php:1276
 7. Horde_Core_Factory_Prefs-&gt;create() /var/www/html/hordetest/libs/Horde/Registry.php:1443
 8. Horde_Prefs-&gt;retrieve() /var/www/html/hordetest/libs/Horde/Core/Factory/Prefs.php:88
 9. Horde_Prefs-&gt;_loadScope() /var/www/html/hordetest/libs/Horde/Prefs.php:336
10. Horde_Core_Prefs_Storage_Hooks-&gt;get() /var/www/html/hordetest/libs/Horde/Prefs.php:368
11. Horde::callHook() /var/www/html/hordetest/libs/Horde/Core/Prefs/Storage/Hooks.php:30
12. Horde::hookExists() /var/www/html/hordetest/libs/Horde.php:1722
13. Horde::errorHandler() /var/www/html/hordetest/libs/Horde.php:1753

</description> 
   <pubDate>Fri, 18 Mar 2011 09:23:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62417</link> 
  </item> 
   
  <item> 
   <title>prefs_init has changed parameters within the last week, so i</title> 
   <description>prefs_init has changed parameters within the last week, so if you are using that hook you need to update.</description> 
   <pubDate>Fri, 18 Mar 2011 15:54:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62442</link> 
  </item> 
   
  <item> 
   <title>&gt; prefs_init has changed parameters within the last week, so</title> 
   <description>&gt; prefs_init has changed parameters within the last week, so if you are 
&gt; using that hook you need to update.

this is true for Horde, but not for IMP. And my hook files look like the provided example, I can attached them if you want.

I think the problem could be related to the following errors :

2011-03-21T09:43:52+01:00 DEBUG: HORDE [horde] PHP ERROR: Object of class Horde_Prefs_Scope could not be converted to string [pid 31085 on line 1750 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]

2011-03-21T09:43:52+01:00 DEBUG: HORDE [imp] PHP ERROR: Object of class Horde_Prefs_Scope could not be converted to string [pid 31085 on line 1750 of &quot;/var/www/html/hordetest/libs/Horde.php&quot;]


here are my local prefs :
- Horde :
$_prefs[&#039;id&#039;][&#039;value&#039;] = &#039;&#039;;
$_prefs[&#039;id&#039;][&#039;locked&#039;] = true;
$_prefs[&#039;id&#039;][&#039;hook&#039;] = true;
$_prefs[&#039;fullname&#039;][&#039;value&#039;] = &#039;&#039;;
$_prefs[&#039;fullname&#039;][&#039;locked&#039;] = true;
$_prefs[&#039;fullname&#039;][&#039;hook&#039;] = true;
$_prefs[&#039;from_addr&#039;][&#039;value&#039;] = &#039;&#039;;
$_prefs[&#039;from_addr&#039;][&#039;locked&#039;] = true;
$_prefs[&#039;from_addr&#039;][&#039;hook&#039;] = true;

- IMP :
$_prefs[&#039;search_sources&#039;][&#039;value&#039;] = &#039;&#039;;
$_prefs[&#039;search_sources&#039;][&#039;locked&#039;] = true;
$_prefs[&#039;search_sources&#039;][&#039;hook&#039;] = true;
$_prefs[&#039;search_fields&#039;][&#039;value&#039;] = &#039;&#039;;
$_prefs[&#039;search_fields&#039;][&#039;locked&#039;] = true;
$_prefs[&#039;search_fields&#039;][&#039;hook&#039;] = true;
$_prefs[&#039;add_source&#039;][&#039;value&#039;] = &#039;&#039;;
$_prefs[&#039;add_source&#039;][&#039;locked&#039;] = true;
$_prefs[&#039;add_source&#039;][&#039;hook&#039;] = true;
</description> 
   <pubDate>Mon, 21 Mar 2011 09:07:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62498</link> 
  </item> 
   
  <item> 
   <title>Horde/Core/Prefs/Storage/Hooks.php

-  $scope_ob-&gt;set($nam</title> 
   <description>Horde/Core/Prefs/Storage/Hooks.php

-  $scope_ob-&gt;set($name, Horde::callHook(&#039;prefs_init&#039;, array($name, $scope_ob-&gt;get($name), strlen($this-&gt;_params[&#039;user&#039;]) ? $this-&gt;_params[&#039;user&#039;] : null), $scope_ob));
+ $scope_ob-&gt;set($name, Horde::callHook(&#039;prefs_init&#039;, array($name, $scope_ob-&gt;get($name), strlen($this-&gt;_params[&#039;user&#039;]) ? $this-&gt;_params[&#039;user&#039;] : null), $name));

</description> 
   <pubDate>Mon, 21 Mar 2011 09:26:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62499</link> 
  </item> 
   
  <item> 
   <title>&gt; Horde/Core/Prefs/Storage/Hooks.php
&gt;
&gt; -  $scope_ob-&gt;set</title> 
   <description>&gt; Horde/Core/Prefs/Storage/Hooks.php
&gt;
&gt; -  $scope_ob-&gt;set($name, Horde::callHook(&#039;prefs_init&#039;, array($name, 
&gt; $scope_ob-&gt;get($name), strlen($this-&gt;_params[&#039;user&#039;]) ? 
&gt; $this-&gt;_params[&#039;user&#039;] : null), $scope_ob));
&gt; + $scope_ob-&gt;set($name, Horde::callHook(&#039;prefs_init&#039;, array($name, 
&gt; $scope_ob-&gt;get($name), strlen($this-&gt;_params[&#039;user&#039;]) ? 
&gt; $this-&gt;_params[&#039;user&#039;] : null), $name));


Even with the above patch, function Horde_Hooks::prefs_init never gets called over here.


</description> 
   <pubDate>Mon, 21 Mar 2011 09:41:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62500</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

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

Bug #9677: Fix parameters

 1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/73adeb732241f5ce3def0cfaf3e70544b9d82238</description> 
   <pubDate>Tue, 22 Mar 2011 04:25:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62518</link> 
  </item> 
   
  <item> 
   <title>This should fix.</title> 
   <description>This should fix.</description> 
   <pubDate>Tue, 22 Mar 2011 04:26:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62519</link> 
  </item> 
   
  <item> 
   <title>&gt; This should fix.

Fixed, 
thanks.
</title> 
   <description>&gt; This should fix.

Fixed, 
thanks.
</description> 
   <pubDate>Tue, 22 Mar 2011 08:22:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62521</link> 
  </item> 
   
  <item> 
   <title>in imp/config/hooks.php.dist,  (and kronolith ...)

Is the</title> 
   <description>in imp/config/hooks.php.dist,  (and kronolith ...)

Is there a missing 4th parameter when declaring function prefs_init ? 
(this function has 4 parameters in horde/config/hooks.php.dist)
</description> 
   <pubDate>Tue, 22 Mar 2011 08:44:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62522</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

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

Bug #9677: Add 4th parameter

 1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/c4956576f8f2152393ce8d4d8de6376fdec52e4b</description> 
   <pubDate>Tue, 22 Mar 2011 09:30:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62524</link> 
  </item> 
   
  <item> 
   <title>Fixed example in imp.  There is no example prefs_init hook i</title> 
   <description>Fixed example in imp.  There is no example prefs_init hook in kronolith.</description> 
   <pubDate>Tue, 22 Mar 2011 09:37:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9677#t62525</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
