Ankündigung

Einklappen
Keine Ankündigung bisher.

Inhaltselemente toggle für zu fatal Error

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Inhaltselemente toggle für zu fatal Error

    Hy Leute,

    Bei Contao 3.5.25 führt im Backend das Umschalten von Inhaltselementen zu einem Fatal Error.
    Das blöde ist, das icon wird umgeschaltet und man merkt dann oft nicht, dass es nicht funktioniert hat.

    Das Projekt ist schon etwas älter aber es gibt einige Bereiche wo es nicht mehr so sauber funktioniert deshalb greife ich es sehr vorsichtig an.

    Habt ihr dafür einen Qucikfix?

    Viele Grüße
    Johannes


    Code:
    PHP Fatal error:
    Uncaught exception 'TypeError' with message 'Argument 1 passed to
    PCT\CustomElements\Backend\BackendIntegration::bui ldBackendView() must be an instance
    of Contao\DataContainer, instance of tl_content given, called in
    /var/www/virtual//htdocs/system/cache/dca/tl_content.php on line 1763' thrown in
    /var/www/virtual//htdocs/system/modules/pct_customelements/PCT/CustomElements/Backend/BackendIntegration.php
    on line 57 #0 /var/www/virtual//htdocs/system/cache/dca/tl_content.php(1763):
    PCT\CustomElements\Backend\BackendIntegration->buildBackendView(Object(tl_content)) #1
    /var/www/virtual//htdocs/system/cache/dca/tl_content.php(1707): tl_content->toggleVisibility('62351', false, NULL) #2
    /var/www/virtual//htdocs/system/modules/ce-access/CeAccess.php(148): tl_content->toggleIcon(Array, NULL,
    'Sichtbarkeit \xC3\xA4...', 'Die Sichtbarkei...', 'visible.gif', ' class="toggle"...') #3
    /var/www/virtual/.cc/htdocs/system/modules/core/classes/DataContainer.php(683): CeAccess->toggleButton(Array, NULL,
    'Sichtbarkeit \xC3\xA4...', 'Die Sichtbarkei...', 'visible.gif', ' class="toggle"...', 'tl_content', NULL, NULL, false, NULL, '62315',
    Object(Contao\DC_Table)) #4 /var/www/virtual/schick.cc/htdocs/system/modules/core/drivers/DC_Table.php(4241):
    Contao\DataContainer->generateButtons(Array, 'tl_content', NULL, false, NULL, NULL, '62315') #5
    /var/www/virtual//htdocs/system/modules/core/drivers/DC_Table.php(378): Contao\DC_Table->parentView() #6
    /var/www/virtual//htdocs/system/modules/core/classes/Backend.php(650): Contao\DC_Table->showAll() #7
    /var/www/virtual//htdocs/system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('article') #8
    /var/www/virtual//htdocs/contao/main.php(20): Contao\BackendMain->run() #9 {main}
    Zuletzt geändert von tcc; 10.02.2022, 17:36.

  • #2
    Hallo,
    die unter Contao 3.5 erhältliche ce-access Erweiterung verursacht den Fehler. Sie reicht ein invalides Objekt weiter.

    http://www.premium-contao-themes.com

    Kommentar


    • #3
      Hy Tim - du bist der Hammer

      Danke Danke Danke - das war die Wurzel allen Übels.

      Kommentar

      Lädt...
      X