Hi everyone,
I made a website where I have some simple MM like the one list some people. For now, the lists modules in FE are still working. Some weeks ago, BE was working too but today, I get this pb. I don't think I made any update recently…
In the BE :
When I clic on one MM, I get the list of records. Then when I want to edit a record, I get a blank page with message :
Code:
Fatal error: Call to a member function parse() on null in /home/eefic/sitev3b/system/modules/generalDriver/templates/dcbe_general_field.html5 on line 3
If I clic on MetaModels to verify my MM parameters, I see the list of MM with this message first :
Code:
Warning: Invalid argument supplied for foreach() in system/modules/generalDriver/templates/dcbe_general_listView_sorting.html5 on line 31
#0 system/modules/generalDriver/templates/dcbe_general_listView_sorting.html5(31): __error(2, 'Invalid argumen...', '/home/eefic/sit...', 31, Array)
#1 system/modules/core/library/Contao/BaseTemplate.php(88): include('/home/eefic/sit...')
#2 system/modules/core/library/Contao/Template.php(277): Contao\BaseTemplate->parse()
#3 system/modules/core/classes/BackendTemplate.php(34): Contao\Template->parse()
#4 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ActionHandler/AbstractListShowAllHandler.php(88): Contao\BackendTemplate->parse()
#5 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/View/ActionHandler/AbstractHandler.php(54): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ActionHandler\AbstractListShowAllHandler->process()
#6 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/View/ActionHandler/AbstractEnvironmentAwareHandler.php(71): ContaoCommunityAlliance\DcGeneral\View\ActionHandler\AbstractHandler->handleEvent(Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#7 [internal function]: ContaoCommunityAlliance\DcGeneral\View\ActionHandler\AbstractEnvironmentAwareHandler->handleEvent(Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#8 composer/vendor/symfony/event-dispatcher/EventDispatcher.php(184): call_user_func(Array, Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#9 composer/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#10 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Controller/DefaultController.php(152): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#11 composer/vendor/metamodels/core/src/MetaModels/BackendIntegration/Module.php(74): ContaoCommunityAlliance\DcGeneral\Controller\DefaultController->handle(Object(ContaoCommunityAlliance\DcGeneral\Action))
#12 system/modules/core/classes/Backend.php(423): MetaModels\BackendIntegration\Module->generate()
#13 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('metamodels')
#14 contao/main.php(20): Contao\BackendMain->run()
#15 {main}
If I try to edit one MM, I got the first error again :
Code:
Fatal error: Call to a member function parse() on null in /home/eefic/sitev3b/system/modules/generalDriver/templates/dcbe_general_field.html5 on line 3
I purged everything but still have the pb.
My configuration :
Contao 3.5.18 with Composer
metamodels/core 2.0.0-alpha15
contao-communitu-alliance/dc-general 2.0.0-beta39
metamodels/attribute_combinedvalues 2.0.2
metamodels/bundle_attributes 2.0.1
metamodels/bundle_filter 2.0.0
metamodels/bundle_nontranslated 2.0.1
metamodels/bundle_translated 2.0.1
Thanks for help.
Lesezeichen