Contao-Camp 2024
Ergebnis 1 bis 1 von 1

Thema: Gelöst: 3.5.28: Fehlermeldung bei der Erstellung von Spaltensets in bootstrap

  1. #1
    Contao-Fan
    Registriert seit
    05.11.2012.
    Beiträge
    400

    Standard Gelöst: 3.5.28: Fehlermeldung bei der Erstellung von Spaltensets in bootstrap

    Hallo,

    ich habe gestern bootstrap für Contao installiert und wollte nun ein Spaltenset in einem Artikel erstellen. Dabei kommt zuerst diese Fehlermeldung:
    Code:
    Warning: array_keys() expects parameter 1 to be array, null given in composer/vendor/contao-bootstrap/grid-editor/src/DataContainer/ColumnSet.php on line 135
    #0 [internal function]: __error(2, 'array_keys() ex...', '/Users/jan-dirk...', 135, Array)
    #1 composer/vendor/contao-bootstrap/grid-editor/src/DataContainer/ColumnSet.php(135): array_keys(NULL)
    #2 system/modules/core/library/Contao/Widget.php(1402): Netzmacht\Bootstrap\Grid\DataContainer\ColumnSet->getAllTypes(Object(Contao\DC_Table))
    #3 system/modules/core/classes/DataContainer.php(268): Contao\Widget::getAttributesFromDca(Array, 'sc_type', '', 'sc_type', 'tl_content', Object(Contao\DC_Table))
    #4 system/modules/core/drivers/DC_Table.php(1943): Contao\DataContainer->row('{type_legend},t...')
    #5 system/modules/core/classes/Backend.php(650): Contao\DC_Table->edit()
    #6 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('article')
    #7 contao/main.php(20): Contao\BackendMain->run()
    #8 {main}
    Und dann, wenn ich auf den Zurück-Button des Browsers gehe, diese oberhalb vom Backend-Fenster von Contao:
    Code:
    Warning: array_keys() expects parameter 1 to be array, null given in composer/vendor/contao-bootstrap/grid-editor/src/DataContainer/ColumnSet.php on line 135
    #0 [internal function]: __error(2, 'array_keys() ex...', '/Users/jan-dirk...', 135, Array)
    #1 composer/vendor/contao-bootstrap/grid-editor/src/DataContainer/ColumnSet.php(135): array_keys(NULL)
    #2 system/modules/core/library/Contao/Widget.php(1402): Netzmacht\Bootstrap\Grid\DataContainer\ColumnSet->getAllTypes(Object(Contao\DC_Table))
    #3 system/modules/core/classes/DataContainer.php(268): Contao\Widget::getAttributesFromDca(Array, 'sc_type', '', 'sc_type', 'tl_content', Object(Contao\DC_Table))
    #4 system/modules/core/drivers/DC_Table.php(1943): Contao\DataContainer->row('{type_legend},t...')
    #5 system/modules/core/classes/Backend.php(650): Contao\DC_Table->edit()
    #6 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('article')
    #7 contao/main.php(20): Contao\BackendMain->run()
    #8 {main}
    
    Warning: Cannot modify header information - headers already sent by (output started at /Users/jan-dirkhansen/Sites/ContaoWebsites/Testwebsites/fastenzentrum-bootstrap/system/helper/functions.php:65) in system/modules/core/library/Contao/Template.php on line 294
    #0 [internal function]: __error(2, 'Cannot modify h...', '/Users/jan-dirk...', 294, Array)
    #1 system/modules/core/library/Contao/Template.php(294): header('Vary: User-Agen...', false)
    #2 system/modules/core/classes/BackendTemplate.php(120): Contao\Template->output()
    #3 system/modules/core/controllers/BackendMain.php(275): Contao\BackendTemplate->output()
    #4 system/modules/core/controllers/BackendMain.php(135): Contao\BackendMain->output()
    #5 contao/main.php(20): Contao\BackendMain->run()
    #6 {main}
    
    Warning: Cannot modify header information - headers already sent by (output started at /Users/jan-dirkhansen/Sites/ContaoWebsites/Testwebsites/fastenzentrum-bootstrap/system/helper/functions.php:65) in system/modules/core/library/Contao/Template.php on line 295
    #0 [internal function]: __error(2, 'Cannot modify h...', '/Users/jan-dirk...', 295, Array)
    #1 system/modules/core/library/Contao/Template.php(295): header('Content-Type: t...')
    #2 system/modules/core/classes/BackendTemplate.php(120): Contao\Template->output()
    #3 system/modules/core/controllers/BackendMain.php(275): Contao\BackendTemplate->output()
    #4 system/modules/core/controllers/BackendMain.php(135): Contao\BackendMain->output()
    #5 contao/main.php(20): Contao\BackendMain->run()
    #6 {main}
    Ich habe sowohl die Erweiterung Subcolumns von Felix Pfeffer als auch Semantic_html5 installiert, aber trotzdem kommen die Fehlermeldungen.
    Was habe ich vergessen, wo liegt mein Fehler?

    Danke
    Jan-Dirk
    Der Fehler war, dass ich in den Einstellungen nicht das Spaltenset auf Bootstrap 3 umgestellt habe. Nun scheint es zu funktionieren...
    Geändert von doescher (13.09.2017 um 15:03 Uhr)

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •