-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TNG] Contao 3.2.12 - Filter verursacht Fehler #491
Comments
Warning: Cannot modify header information - headers already sent by (output started at /kunden/182578_70794/rp-hosting/6201/7201/contaocms/2014_04_04_winkels/system/helper/functions.php:70) in system/modules/core/library/Contao/System.php on line 484
#0 [internal function]: __error(2, 'Cannot modify h...', '/kunden/182578_...', 484, Array)
#1 system/modules/core/library/Contao/System.php(484): setcookie('BE_PAGE_OFFSET', '0', 0, '/', '', false, false)
#2 system/modules/core/templates/backend/be_main.html5(123): Contao\System::setCookie('BE_PAGE_OFFSET', 0, 0)
#3 system/modules/core/library/Contao/Template.php(276): include('/LINKentfernt...')
#4 system/modules/core/classes/BackendTemplate.php(37): Contao\Template->parse()
#5 system/modules/core/classes/BackendTemplate.php(149): Contao\BackendTemplate->parse()
#6 contao/main.php(284): Contao\BackendTemplate->output()
#7 contao/main.php(146): Main->output()
#8 contao/main.php(293): Main->run()
#9 {main} |
Und das passiert dann im Frontend: Fatal error: Uncaught exception RuntimeException with message Error: Filtersetting 0 not attached to a MetaModel thrown in system/modules/metamodels/MetaModels/Filter/Setting/Collection.php on line 121
#0 system/modules/metamodels/MetaModels/Filter/Setting/Collection.php(244): MetaModels\Filter\Setting\Collection->getMetaModel()
#1 system/modules/metamodels/MetaModels/FrontendIntegration/FrontendFilter.php(224): MetaModels\Filter\Setting\Collection->getParameterFilterWidgets(Array, Array, Object(MetaModels\FrontendIntegration\FrontendFilterOptions))
#2 system/modules/metamodels/MetaModels/FrontendIntegration/FrontendFilter.php(73): MetaModels\FrontendIntegration\FrontendFilter->getFilters()
#3 system/modules/metamodels/MetaModels/FrontendIntegration/Module/Filter.php(75): MetaModels\FrontendIntegration\FrontendFilter->getMetaModelFrontendFilter(Object(MetaModels\FrontendIntegration\Module\Filter))
#4 system/modules/core/modules/Module.php(148): MetaModels\FrontendIntegration\Module\Filter->compile()
#5 system/modules/metamodels/MetaModels/FrontendIntegration/Module/Filter.php(63): Contao\Module->generate()
#6 system/modules/core/elements/ContentModule.php(63): MetaModels\FrontendIntegration\Module\Filter->generate()
#7 system/modules/core/library/Contao/Controller.php(456): Contao\ContentModule->generate()
#8 system/modules/core/modules/ModuleArticle.php(196): Contao\Controller->getContentElement(Object(Contao\ContentModel), 'main')
#9 system/modules/core/modules/Module.php(148): Contao\ModuleArticle->compile()
#10 system/modules/core/modules/ModuleArticle.php(59): Contao\Module->generate()
#11 system/modules/core/library/Contao/Controller.php(392): Contao\ModuleArticle->generate(false)
#12 system/modules/core/library/Contao/Controller.php(254): Contao\Controller->getArticle(Object(Contao\ArticleModel), false, false, 'main')
#13 system/modules/core/pages/PageRegular.php(138): Contao\Controller->getFrontendModule('0', 'main')
#14 index.php(256): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#15 index.php(440): Index->run()
#16 {main} |
Kannst du bitte erstmal deinen Code auch als Code kennzeichnen? ;) |
Das ist mir gerade echt ein wenig peinlich, aber kannst Du mir kurz sagen wie das hier funktioniert? |
@jgrotstabel siehe https://guides.github.com/features/mastering-markdown/#GitHub-flavored-markdown "Syntax Highlight" |
Ok, erledigt! Sorry @andreasisaak |
@jgrotstabel ich kann den Fehler bei mir core 2e73b78 dcg aa1ae903 cto 3.2.10 nicht nachvollziehen - kannst du genauer beschreiben, wie ich das reproduzieren könnte? |
@tim-bec Recoverable error: Argument 1 passed to MetaModels\Dca\Module::getFilterParameterNames() must be an instance of Contao\Database\Result, instance of Contao\DC_Table given, called in /----Serverpfad-----/system/modules/core/library/Contao/Widget.php on line 1272 and defined in system/modules/metamodels/MetaModels/Dca/Module.php on line 126
#0 system/modules/metamodels/MetaModels/Dca/Module.php(126): __error(4096, 'Argument 1 pass...', '/Serverpfad_...', 126, Array)
#1 system/modules/core/library/Contao/Widget.php(1272): MetaModels\Dca\Module->getFilterParameterNames(Object(Contao\DC_Table))
#2 system/modules/core/classes/DataContainer.php(249): Contao\Widget::getAttributesFromDca(Array, 'metamodel_fef_p...', NULL, 'metamodel_fef_p...', 'tl_module', Object(Contao\DC_Table))
#3 system/modules/core/drivers/DC_Table.php(1881): Contao\DataContainer->row('{title_legend},...')
#4 system/modules/core/classes/Backend.php(430): Contao\DC_Table->edit()
#5 contao/main.php(142): Contao\Backend->getBackendModule('themes')
#6 contao/main.php(293): Main->run()
#7 {main} Und wenn ich diese Fehlerseite, auf der ich auch nichts mehr machen kann überspringe und das Modul aufrufe. Stehen über den Moduleinstellungen die fehlermeldungen die ich oben gepostet habe. Das System läuft unter PHP 5.4.16 und der Installcheck zeigt keinerlei Probleme. Soll ich Dir alternativ mal einen Zugang zum System geben? |
Wenn ich mit der neuen Version einen Filter anlegen will kommt eine Fehlermeldung im backend:
The text was updated successfully, but these errors were encountered: