Skip to content
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

Contao3 - Artikel bearbeiten #273

Closed
tniebergall opened this issue Sep 5, 2013 · 6 comments
Closed

Contao3 - Artikel bearbeiten #273

tniebergall opened this issue Sep 5, 2013 · 6 comments
Labels
backend This seems to be a bug in the backend bug A bug! A bug! Fast, squish it! testing This ticket is reported to be fixed by a developer and should be tested.
Milestone

Comments

@tniebergall
Copy link

Wenn ich mit installiertem MM versuche in der Contao Artikelverwaltung einen Artikel zu bearbeiten erhalte ich folgende Meldung:

Warning: in_array() expects parameter 2 to be array, null given in system/modules/core/library/Contao/System.php on line 110
#0 [internal function]: __error(2, 'in_array() expe...', '[contao_root]...', 110, Array)
#1 system/modules/core/library/Contao/System.php(110): in_array('getInstance', NULL)
#2 system/modules/core/drivers/DC_Table.php(207): Contao\System->import('MetaModels\Dca...')
#3 system/modules/core/classes/Backend.php(253): Contao\DC_Table->__construct('tl_content', Array)
#4 contao/main.php(129): Contao\Backend->getBackendModule('article')
#5 contao/main.php(271): Main->run()
#6 {main}

Fatal error: Class 'MetaModels\Dca\TableContent' not found in [contao_root]/system/modules/core/library/Contao/System.php on line 110

@lindesbs
Copy link

lindesbs commented Sep 5, 2013

siehe #272

@discordier
Copy link
Member

Should be fixed by the same fix as #272. Please test.

@tniebergall
Copy link
Author

It works 👍

@tniebergall
Copy link
Author

Kommando zurück!

Der Fehler hat sich nun in den Bereich hinzufügen des MetaModel Listen Element verlagert

Warning: in_array() expects parameter 2 to be array, null given in system/modules/core/library/Contao/System.php on line 130
#0 [internal function]: __error(2, 'in_array() expe...', '/data/www/e3N/h...', 130, Array)
#1 system/modules/core/library/Contao/System.php(130): in_array('getInstance', NULL)
#2 system/modules/core/library/Contao/Widget.php(1234): Contao\System::importStatic('Content')
#3 system/modules/core/classes/DataContainer.php(222): Contao\Widget::getAttributesFromDca(Array, 'metamodel_rende...', '0', 'metamodel_rende...', 'tl_content', Object(Contao\DC_Table))
#4 system/modules/core/drivers/DC_Table.php(1790): Contao\DataContainer->row('{title_legend},...')
#5 system/modules/core/classes/Backend.php(424): Contao\DC_Table->edit()
#6 contao/main.php(129): Contao\Backend->getBackendModule('article')
#7 contao/main.php(271): Main->run()
#8 {main}

Fatal error: Class 'Content' not found in /data/www/e3N/htdocs/1000_e3n/relaunch/system/modules/core/library/Contao/System.php on line 130

@discordier
Copy link
Member

Ok, there was one reference without namespace. Now this is also fixed.

@tniebergall
Copy link
Author

It works 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This seems to be a bug in the backend bug A bug! A bug! Fast, squish it! testing This ticket is reported to be fixed by a developer and should be tested.
Projects
None yet
Development

No branches or pull requests

3 participants