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

'member_grouped' template causes error/ warning #1536

Closed
cs1982 opened this issue Sep 18, 2015 · 1 comment
Closed

'member_grouped' template causes error/ warning #1536

cs1982 opened this issue Sep 18, 2015 · 1 comment
Labels
Milestone

Comments

@cs1982
Copy link

cs1982 commented Sep 18, 2015

I'm using Contao 3.5.3 and Isotope 2.3.1 on an actual XAMPP developing environment. While using the 'member_grouped' template in the module 'addressbook' I get the following message when I click "new address" or "change address":

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\mlg.de\system\modules\core\templates\member\member_grouped.html5 on line 14

#0 C:\xampp\htdocs\mlg.de\system\modules\core\templates\member\member_grouped.html5(14): __error(2, 'Invalid argumen...', 'C:\\xampp\\htdocs...', 14, Array) #1 C:\xampp\htdocs\mlg.de\system\modules\core\library\Contao\BaseTemplate.php(88): include('C:\\xampp\\htdocs...') #2 C:\xampp\htdocs\mlg.de\system\modules\core\library\Contao\Template.php(277): Contao\BaseTemplate->parse() #3 C:\xampp\htdocs\mlg.de\system\modules\core\classes\FrontendTemplate.php(46): Contao\Template->parse() #4 C:\xampp\htdocs\mlg.de\system\modules\core\modules\Module.php(306): Contao\FrontendTemplate->parse() #5 C:\xampp\htdocs\mlg.de\system\modules\isotope\library\Isotope\Module\Module.php(112): Contao\Module->generate() #6 C:\xampp\htdocs\mlg.de\system\modules\isotope\library\Isotope\Module\AddressBook.php(82): Isotope\Module\Module->generate() #7 C:\xampp\htdocs\mlg.de\system\modules\core\elements\ContentModule.php(59): Isotope\Module\AddressBook->generate() #8 C:\xampp\htdocs\mlg.de\system\modules\core\library\Contao\Controller.php(476): Contao\ContentModule->generate() #9 C:\xampp\htdocs\mlg.de\system\modules\core\modules\ModuleArticle.php(213): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main') #10 C:\xampp\htdocs\mlg.de\system\modules\core\modules\Module.php(282): Contao\ModuleArticle->compile() #11 C:\xampp\htdocs\mlg.de\system\modules\core\modules\ModuleArticle.php(67): Contao\Module->generate() #12 C:\xampp\htdocs\mlg.de\system\modules\core\library\Contao\Controller.php(409): Contao\ModuleArticle->generate(false) #13 C:\xampp\htdocs\mlg.de\system\modules\core\library\Contao\Controller.php(269): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main') #14 C:\xampp\htdocs\mlg.de\system\modules\core\pages\PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main') #15 C:\xampp\htdocs\mlg.de\system\modules\core\controllers\FrontendIndex.php(267): Contao\PageRegular->generate(Object(Contao\PageModel), true) #16 C:\xampp\htdocs\mlg.de\index.php(20): Contao\FrontendIndex->run() #17 {main} 

The module works well while using the template 'member_default'. Both templates are unspoilt. In the standard Contao module 'personal data' the template 'member_groups' runs properly.

I hope its a bug an I'm not wasting your time :-) If the fault is on my side, thanks for clarification.

@aschempp
Copy link
Member

Fixed in 92a0211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants