Avisota-Installation: Call to a member function share() on a non-object

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Nina
    Contao-Urgestein
    • 04.06.2009
    • 4755

    #1

    Avisota-Installation: Call to a member function share() on a non-object

    Ich habe über Contao das Avisota-Bundle installiert. Die Installation ist abgebrochen, danach waren Frontend und Backend nur noch weiß. Im Logfile stand:
    PHP-Code:
    [20-Dec-2014 22:01:07 Europe/Berlin] PHP Fatal error:  Call to a member function share() on a non-object in /var/www/virtual/XXX/html/system/modules/avisota-core/config/services.php on line 60 
    
    Um wenigstens Frontend/Backend wieder zu sehen, habe ich versucht mit Skip-Dateien in den Avisota-Modules-Ordnern zu retten was nicht zu retten ist, aber da sprang die Meldung dann nur von Modul zu Modul:

    PHP-Code:
    ...
    [20-Dec-2014 22:01:25 Europe/Berlin] PHP Fatal error:  Call to a member function share() on a non-object in /var/www/virtual/XXX/html/system/modules/avisota-core/config/services.php on line 60
    [20-Dec-2014 22:01:28 Europe/Berlin] PHP Fatal error:  Call to a member function share() on a non-object in /var/www/virtual/XXX/html/system/modules/avisota-core/config/services.php on line 60
    [20-Dec-2014 22:05:48 Europe/Berlin] PHP Fatal error:  Call to a member function protect() on a non-object in /var/www/virtual/XXX/html/system/modules/dc-general/config/services.php on line 23
    [20-Dec-2014 22:05:50 Europe/Berlin] PHP Fatal error:  Call to a member function protect() on a non-object in /var/www/virtual/XXX/html/system/modules/dc-general/config/services.php on line 23
    [20-Dec-2014 22:06:40 Europe/Berlin] PHP Fatal error:  Call to a member function share() on a non-object in /var/www/virtual/XXX/html/system/modules/doctrine-dbal/config/services.php on line 18
    [20-Dec-2014 22:07:16 Europe/Berlin] PHP Fatal error:  Call to a member function protect() on a non-object in /var/www/virtual/XXX/html/system/modules/doctrine-orm/config/services.php on line 18 
    
    Schlussendlich kam dann das hier:
    PHP-Code:
    [20-Dec-2014 22:10:53 Europe/Berlin] PHP Fatal error: Uncaught exception 'RedBeanPHP\RedException' with message 'A database has already be specified for this key.' thrown in phar:///var/www/virtual/XXX/html/system/modules/esit_redbean/vendor/redbean/rb.phar/RedBeanPHP/Facade.php on line 268
    #0 phar:///var/www/virtual/XXX/html/system/modules/esit_redbean/vendor/redbean/rb.phar/RedBeanPHP/Facade.php(180): RedBeanPHP\Facade::addDatabase('default', 'mysql:host=loca...', 'XXX', 'XXX...', false)
    #1 /var/www/virtual/XXX/html/system/modules/esit_redbean/config/services.php(32): RedBeanPHP\Facade::setup('mysql:host=loca...', 'XXX', 'XXX...')
    #2 /var/www/virtual/XXX/html/composer/vendor/pimple/pimple/lib/Pimple.php(83): esit\esit_core\esit_pimple::{closure}(Object(Pimple))
    #3 /var/www/virtual/XXX/html/system/modules/XXX_organisations/config/services.php(190): Pimple->offsetGet('redbean')
    #4 /var/www/virtual/XXX/html/composer/vendor/pimple/pimple/lib/Pimple.php(83): esit\esit_core\esit_pimple::{closure}(Object(Pimple))
    #5 /var/www/virtual/XXX/html/system/modules/esit_core/classes/pimple/esit_pimple.php(112): Pimple->offsetGet('exportListner')
    #6 /var/www/virtual/XXX/html/system/modules/esit_core/classes/events/esit_eventLoader.php(63): esit\esit_core\esit_pimple::getClass('exportListner')
    #7 /var/www/virtual/XXX/html/system/modules/esit_core/config/services.php(43): esit\esit_core\esit_eventLoader::registerEvents(Object(Symfony\Component\EventDispatcher\EventDispatcher))
    #8 /var/www/virtual/XXX/html/system/modules/esit_core/classes/pimple/esit_pimple.php(80): include('/var/www/virtua...')
    #9 /var/www/virtual/XXX/html/system/modules/esit_core/classes/pimple/esit_pimple.php(57): esit\esit_core\esit_pimple::loadConfigurations(Object(Pimple))
    #10 /var/www/virtual/XXX/html/system/modules/esit_core/classes/pimple/esit_pimple.php(44): esit\esit_core\esit_pimple::genPimple()
    #11 /var/www/virtual/XXX/html/system/modules/esit_core/classes/pimple/esit_pimple.php(108): esit\esit_core\esit_pimple::init()
    #12 /var/www/virtual/XXX/html/system/modules/esit_core/config/services.php(41): esit\esit_core\esit_pimple::getClass('event_dispatche...')
    #13 /var/www/virtual/XXX/html/composer/vendor/contao-community-alliance/dependency-container/src/DependencyInjection/Container/ContainerInitializer.php(299): include('/var/www/virtua...')
    #14 /var/www/virtual/XXX/html/composer/vendor/contao-community-alliance/dependency-container/src/DependencyInjection/Container/ContainerInitializer.php(325): DependencyInjection\Container\ContainerInitializer->loadServiceConfigurations(Object(Pimple))
    #15 /var/www/virtual/XXX/html/system/initialize.php(244): DependencyInjection\Container\ContainerInitializer->init()
    #16 /var/www/virtual/XXX/html/contao/index.php(24): require('/var/www/virtua...')
    #17 {main} 
    
    Das ist eine Extension von Patrick Froch, an der ich aber nichts gemacht habe und die meines Wissens nach nicht in Composer drin ist (war auch nicht in der Erweiterungsverwaltung installiert, sondern ist manuell im System). Die Erweiterung von Patrick hat vorher keinerlei Fehler gezeigt oder so.
    Kann es sein, dass sich Avisota und diese Erweiterung gegenseitig beißen? Ich könnte dir gerne die Extension rüber reichen, damit du ggf. das Problem nachvollziehen kannst.
  • ciaobello
    Contao-Urgestein
    • 10.07.2010
    • 4403

    #2
    Ich tippe mal auf dc_general der da rein spielt.

    Kommentar

    • tril
      Contao-Urgestein
      • 07.01.2010
      • 2939

      #3
      Mit dem DCG hat das überhaupt nichts zu tun, dass scheint mir eher eine Inkompatibilität/Konflikt zwischen RedBeanPHP und https://github.com/contao-community-...ency-container zu sein.

      Kommentar

      • Nina
        Contao-Urgestein
        • 04.06.2009
        • 4755

        #4
        Konntest du da etwas herausfinden? *hoff*

        Kommentar

        Lädt...