I'm trying to edit any article of any page, and I have this error:
I uninstall changelanguage, install it again, install a previos version, and nothing works, can somebody give a advise to work with this problem.
Warning: in_array() expects parameter 2 to be array, null given in system/modules/core/library/Contao/System.php on line 140
#0 [internal function]: __error(2, 'in_array() expe...', 's...', 140, Array)
#1 system/modules/core/library/Contao/System.php(140): in_array('getInstance', NULL)
#2 system/cache/dca/tl_article.php(1816): Contao\System->import('ChangeLanguage')
#3 system/modules/core/library/Contao/System.php(140): tl_article_changelanguage->__construct()
#4 system/modules/core/drivers/DC_Table.php(206): Contao\System->import('tl_article_chan...')
#5 system/modules/core/classes/Backend.php(408): Contao\DC_Table->__construct('tl_article', Array)
#6 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('article')
#7 contao/main.php(20): Contao\BackendMain->run()
#8 {main}
Fatal error: Uncaught exception Error with message Class 'ChangeLanguage' not found thrown in system/modules/core/library/Contao/System.php on line 140
#0 system/cache/dca/tl_article.php(1816): Contao\System->import('ChangeLanguage')
#1 system/modules/core/library/Contao/System.php(140): tl_article_changelanguage->__construct()
#2 system/modules/core/drivers/DC_Table.php(206): Contao\System->import('tl_article_chan...')
#3 system/modules/core/classes/Backend.php(408): Contao\DC_Table->__construct('tl_article', Array)
#4 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('article')
#5 contao/main.php(20): Contao\BackendMain->run()
#6 {main}
Thansk,
--Hugo
Bookmarks