6.0.0-alpha10
5/14/25

[#15052] ldif export fails due to type error
Summary ldif export fails due to type error
Queue Turba
Queue Version FRAMEWORK_5_2
Type Bug
State Unconfirmed
Priority 2. Medium
Owners
Requester admin (at) layertec (dot) de
Created 02/26/2021 (1538 days ago)
Due
Updated 06/22/2021 (1422 days ago)
Assigned
Resolved
Milestone
Patch No

History
06/22/2021 07:33:43 AM cheese (at) nosuchhost (dot) net Comment #3 Reply to this comment
06/17/2021 12:15:00 PM cheese (at) nosuchhost (dot) net Comment #2 Reply to this comment
i have the same problem:

Ein schwerer Fehler ist aufgetreten:
Argument 1 passed to Horde_Data_Base::__construct() must be an 
instance of Horde_Data_Storage, array given, called in 
/usr/share/horde/turba/lib/Application.php on line 630
in /usr/share/pear/Horde/Data/Base.php:93

1. Horde_Registry->callAppMethod() 
/usr/share/horde/services/download/index.php:32
2. Turba_Application->download() /usr/share/pear/Horde/Registry.php:1197
3. Horde_Data_Base->__construct() 
/usr/share/horde/turba/lib/Application.php:630

Details
Die vollständige Fehlermeldung wurde in Hordes Logdatei geschrieben 
und für Administratoren weiter unten ausgegeben. Benutzer, die keine 
Administratoren sind, bekommen diese Details nicht zu sehen.

TypeError Object
(
     [message:protected] => Argument 1 passed to 
Horde_Data_Base::__construct() must be an instance of 
Horde_Data_Storage, array given, called in 
/usr/share/horde/turba/lib/Application.php on line 630
     [string:Error:private] => TypeError: Argument 1 passed to 
Horde_Data_Base::__construct() must be an instance of 
Horde_Data_Storage, array given, called in 
/usr/share/horde/turba/lib/Application.php on line 630 and defined in 
/usr/share/pear/Horde/Data/Base.php:93
Stack trace:
#0 /usr/share/horde/turba/lib/Application.php(630): 
Horde_Data_Base->__construct(Array)
#1 /usr/share/pear/Horde/Registry.php(1197): 
Turba_Application->download(Object(Horde_Variables))
#2 /usr/share/horde/services/download/index.php(32): 
Horde_Registry->callAppMethod('turba', 'download', Array)
#3 {main}
     [code:protected] => 0
     [file:protected] => /usr/share/pear/Horde/Data/Base.php
     [line:protected] => 93
     [trace:Error:private] => Array
         (
             [0] => Array
                 (
                     [file] => /usr/share/horde/turba/lib/Application.php
                     [line] => 630
                     [function] => __construct
                     [class] => Horde_Data_Base
                     [type] => ->
                     [args] => Array
                         (
                             [0] => Array
                                 (
                                     [browser] => Horde_Core_Browser Object
                                         (
                                             [_majorVersion:protected] => 5
                                             [_minorVersion:protected] => 0
                                             [_browser:protected] => mozilla
                                             [_agent:protected] => 
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:89.0) Gecko/20100101 
Firefox/89.0
                                             [_lowerAgent:protected] 
=> mozilla/5.0 (x11; fedora; linux x86_64; rv:89.0) gecko/20100101 
firefox/89.0
                                             [_accept:protected] => 
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
                                             [_platform:protected] => unix
                                             [_robotAgents:protected] => Array
                                                 (
                                                     [0] => Slurp
                                                     [1] => Yahoo
                                                     [2] => appie
                                                     [3] => Arachnoidea
                                                     [4] => ArchitextSpider
                                                     [5] => Ask Jeeves
                                                     [6] => Baiduspider
                                                     [7] => cfetch
                                                     [8] => ConveraCrawler
                                                     [9] => ExtractorPro
                                                     [10] => FAST-WebCrawler
                                                     [11] => fido
                                                     [12] => findlinks
                                                     [13] => Francis
                                                     [14] => grub-client
                                                     [15] => Gulliver
                                                     [16] => HTTrack
                                                     [17] => ia_archiver
                                                     [18] => iaskspider
                                                     [19] => iCCrawler
                                                     [20] => InfoSeek
                                                     [21] => KIT-Fireball
                                                     [22] => larbin
                                                     [23] => LEIA
                                                     [24] => lmspider
                                                     [25] => lwp-trivial
                                                     [26] => Lycos_Spider
                                                     [27] => 
Mediapartners-Google
                                                     [28] => MuscatFerret
                                                     [29] => Pompos
                                                     [30] => Scooter
                                                     [31] => sogou spider
                                                     [32] => sproose
                                                     [33] => Teoma
                                                     [34] => Twiceler
                                                     [35] => Ultraseek
                                                     [36] => Vagabondo/Kliksafe
                                                     [37] => voyager
                                                     [38] => W3C-checklink
                                                     [39] => webbandit
                                                     [40] => 
www.almaden.ibm.com/cs/crawler
                                                     [41] => yacy
                                                     [42] => ZyBorg
                                                 )

                                             [_robotAgentRegexp:protected] =>
                                             [_mobileAgents:protected] => Array
                                                 (
                                                     [0] => Blackberry
                                                     [1] => Blazer
                                                     [2] => Handspring
                                                     [3] => iPhone
                                                     [4] => iPod
                                                     [5] => Kyocera
                                                     [6] => LG
                                                     [7] => Motorola
                                                     [8] => Nokia
                                                     [9] => Palm
                                                     [10] => 
PlayStation Portable
                                                     [11] => Samsung
                                                     [12] => Smartphone
                                                     [13] => SonyEricsson
                                                     [14] => Symbian
                                                     [15] => WAP
                                                     [16] => Windows CE
                                                 )

                                             [_tvAgents:protected] => Array
                                                 (
                                                     [0] => Nintendo Wii
                                                     [1] => Playstation 3
                                                     [2] => WebTV
                                                 )

                                             [_mobile:protected] =>
                                             [_tablet:protected] =>
                                             [_features:protected] => Array
                                                 (
                                                     [frames] => 1
                                                     [html] => 1
                                                     [images] => 1
                                                     [java] => 1
                                                     [javascript] => 1,4
                                                     [tables] => 1
                                                     [ajax] => 1
                                                     [dom] => 1
                                                     [accesskey] => 1
                                                     [optgroup] => 1
                                                     [xmlhttpreq] => 1
                                                     [cite] => 1
                                                     [iframes] => 1
                                                     [rte] => 1
                                                     [dataurl] => 1
                                                     [utf] => 1
                                                 )

                                             [_quirks:protected] => Array
                                                 (
                                                     [must_cache_forms] => 1
                                                 )

                                             [_images:protected] => Array
                                                 (
                                                     [0] => jpeg
                                                     [1] => gif
                                                     [2] => png
                                                     [3] => pjpeg
                                                     [4] => x-png
                                                     [5] => bmp
                                                 )

                                         )

                                     [vars] => Horde_Variables Object
                                         (
                                             [_expected:protected] => Array
                                                 (
                                                 )

                                             [_sanitized:protected] =>
                                             [_vars:protected] => Array
                                                 (
                                                     [app] => turba
                                                     [fn] => /adressen.csv
                                                     [actionID] => export
                                                     [exportID] => ldif
                                                     [source] => 
df171158741c1f9b4a71bc2afa79fd18
                                                 )

                                         )

                                     [cleanup] => Array
                                         (
                                             [0] => Turba_Application Object
                                                 (
                                                     [features] => Array
                                                         (
                                                             
[smartmobileView] => 1
                                                             [modseq] => 1
                                                         )

                                                     [version] => H5 (4.2.25)
                                                     [auth] => Array
                                                         (
                                                         )

                                                     [initParams] => Array
                                                         (
                                                         )

                                                     [_app:protected] => turba
                                                     
[_sessVars:protected] => Array
                                                         (
                                                         )

                                                 )

                                             [1] => cleanupData
                                         )

                                 )

                         )

                 )

             [1] => Array
                 (
                     [file] => /usr/share/pear/Horde/Registry.php
                     [line] => 1197
                     [function] => download
                     [class] => Turba_Application
                     [type] => ->
                     [args] => Array
                         (
                             [0] => Horde_Variables Object
                                 (
                                     [_expected:protected] => Array
                                         (
                                         )

                                     [_sanitized:protected] =>
                                     [_vars:protected] => Array
                                         (
                                             [app] => turba
                                             [actionID] => export
                                             [exportID] => ldif
                                             [source] => 
df171158741c1f9b4a71bc2afa79fd18
                                             [filename] => adressen.csv
                                         )

                                 )

                         )

                 )

             [2] => Array
                 (
                     [file] => /usr/share/horde/services/download/index.php
                     [line] => 32
                     [function] => callAppMethod
                     [class] => Horde_Registry
                     [type] => ->
                     [args] => Array
                         (
                             [0] => turba
                             [1] => download
                             [2] => Array
                                 (
                                     [args] => Array
                                         (
                                             [0] => Horde_Variables Object
                                                 (
                                                     
[_expected:protected] => Array
                                                         (
                                                         )

                                                     [_sanitized:protected] =>
                                                     [_vars:protected] => Array
                                                         (
                                                             [app] => turba
                                                             
[actionID] => export
                                                             [exportID] => ldif
                                                             [source] 
=> df171158741c1f9b4a71bc2afa79fd18
                                                             
[filename] => adressen.csv
                                                         )

                                                 )

                                         )

                                 )

                         )

                 )

         )

     [previous:Error:private] =>
)

02/26/2021 04:20:58 PM admin (at) layertec (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ ldif export fails due to type error
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
Reply to this comment
Trying to export all addresses in LDIF format causes a type error: 
...must be an instance of Horde_Data_Storage, array given.

Environment:
- Horde Groupware Webmail Edition 5.2.22
- turba 4.2.25
- php 7.3.27
- Debian 10.8

2021-02-23T08:12:15+01:00 EMERG: HORDE [turba] TypeError: Argument 1 
passed to Horde_Data_Base::__construct() must be an instance of 
Horde_Data_Storage, array given, called in 
/var/www/horde/turba/lib/Application.php on line 629 and defined in 
/usr/share/php/Horde/Data/Base.php:93
Stack trace:
#0 /var/www/horde/turba/lib/Application.php(629): 
Horde_Data_Base->__construct(Array)
#1 /usr/share/php/Horde/Registry.php(1197): 
Turba_Application->download(Object(Horde_Variables))
#2 /var/www/horde/services/download/index.php(32): 
Horde_Registry->callAppMethod('turba', 'download', Array)
#3 {main} [pid 8891 on line 74 of "/usr/share/php/Horde/ErrorHandler.php"]

Saved Queries