Partner universities

Warning message

Warning: Invalid argument supplied for foreach() in _get_ecoles_with_formations_with_univ() (line 79 of /home/esclaroch/httpdocs/web/modules/custom/filtres_vue_custom/filtres_vue_custom.module) #0 /home/esclaroch/httpdocs/web/core/includes/bootstrap.inc(582): _drupal_error_handler_real(2, 'Invalid argumen...', '/home/esclaroch...', 79, Array) #1 /home/esclaroch/httpdocs/web/modules/custom/filtres_vue_custom/filtres_vue_custom.module(79): _drupal_error_handler(2, 'Invalid argumen...', '/home/esclaroch...', 79, Array) #2 /home/esclaroch/httpdocs/web/modules/custom/filtres_vue_custom/filtres_vue_custom.module(46): _get_ecoles_with_formations_with_univ() #3 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(539): filtres_vue_custom_form_alter(Array, Object(Drupal\Core\Form\FormState), 'views_exposed_f...') #4 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Form/FormBuilder.php(830): Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object(Drupal\Core\Form\FormState), 'views_exposed_f...') #5 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Form/FormBuilder.php(272): Drupal\Core\Form\FormBuilder->prepareForm('views_exposed_f...', Array, Object(Drupal\Core\Form\FormState)) #6 /home/esclaroch/httpdocs/web/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php(135): Drupal\Core\Form\FormBuilder->buildForm('views_exposed_f...', Object(Drupal\Core\Form\FormState)) #7 /home/esclaroch/httpdocs/web/core/modules/views/src/ViewExecutable.php(1235): Drupal\views\Plugin\views\exposed_form\ExposedFormPluginBase->renderExposedForm() #8 /home/esclaroch/httpdocs/web/core/modules/views/src/ViewExecutable.php(1388): Drupal\views\ViewExecutable->build(NULL) #9 /home/esclaroch/httpdocs/web/core/modules/views/src/ViewExecutable.php(1451): Drupal\views\ViewExecutable->execute(NULL) #10 /home/esclaroch/httpdocs/web/core/modules/views/src/Plugin/views/display/Block.php(117): Drupal\views\ViewExecutable->render() #11 /home/esclaroch/httpdocs/web/core/modules/views/src/ViewExecutable.php(1627): Drupal\views\Plugin\views\display\Block->execute() #12 /home/esclaroch/httpdocs/web/core/modules/views/src/Element/View.php(77): Drupal\views\ViewExecutable->executeDisplay('bloc_map_univer...', Array) #13 /home/esclaroch/httpdocs/web/core/modules/views/src/Plugin/Block/ViewsBlock.php(59): Drupal\views\Element\View::preRenderViewElement(Array) #14 /home/esclaroch/httpdocs/web/core/modules/block/src/BlockViewBuilder.php(203): Drupal\views\Plugin\Block\ViewsBlock->build() #15 [internal function]: Drupal\block\BlockViewBuilder::preRender(Array) #16 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Render/Renderer.php(378): call_user_func('Drupal\\block\\Bl...', Array) #17 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Render/Renderer.php(450): Drupal\Core\Render\Renderer->doRender(Array) #18 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false) #19 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Template/TwigExtension.php(490): Drupal\Core\Render\Renderer->render(Array) #20 /home/esclaroch/httpdocs/web/sites/default/files/php/twig/5ae9b9d689d13_page.html.twig_u6AFngF0qHJL63qJ1jLdN056F/T8_MgXvJCYGL8DA5dWAUdbiGHW7Pk5lzVpBVbT9ggXg.php(173): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true) #21 /home/esclaroch/httpdocs/web/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_86831baa9819477634eeb387d7b9e708326a615f4cb2bef4ef2172470d717822->doDisplay(Array, Array) #22 /home/esclaroch/httpdocs/web/vendor/twig/twig/lib/Twig/Template.php(403): Twig_Template->displayWithErrorHandling(Array, Array) #23 /home/esclaroch/httpdocs/web/vendor/twig/twig/lib/Twig/Template.php(411): Twig_Template->display(Array) #24 /home/esclaroch/httpdocs/web/core/themes/engines/twig/twig.engine(64): Twig_Template->render(Array) #25 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/esc_laro...', Array) #26 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Render/Renderer.php(437): Drupal\Core\Theme\ThemeManager->render('page', Array) #27 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false) #28 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Template/TwigExtension.php(490): Drupal\Core\Render\Renderer->render(Array) #29 /home/esclaroch/httpdocs/web/sites/default/files/php/twig/5ae9b9d689d13_html.html.twig_KgdPvhMzdWPGhpQOG2_UI_udQ/gLP0XdHYeISkRfE9pgrvxWCOD8N3f8WDB_6LOWw7Hww.php(208): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true) #30 /home/esclaroch/httpdocs/web/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_444f338b59a21f52ce1e5e37cb7bb7977ef713ef85ed43275f7bfdd4e0c4a2fe->doDisplay(Array, Array) #31 /home/esclaroch/httpdocs/web/vendor/twig/twig/lib/Twig/Template.php(403): Twig_Template->displayWithErrorHandling(Array, Array) #32 /home/esclaroch/httpdocs/web/vendor/twig/twig/lib/Twig/Template.php(411): Twig_Template->display(Array) #33 /home/esclaroch/httpdocs/web/core/themes/engines/twig/twig.engine(64): Twig_Template->render(Array) #34 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('themes/esc_laro...', Array) #35 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Render/Renderer.php(437): Drupal\Core\Theme\ThemeManager->render('html', Array) #36 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Render/Renderer.php(195): Drupal\Core\Render\Renderer->doRender(Array, false) #37 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(147): Drupal\Core\Render\Renderer->render(Array) #38 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() #39 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(148): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #40 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch)) #41 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #42 /home/esclaroch/httpdocs/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #43 /home/esclaroch/httpdocs/web/vendor/symfony/http-kernel/HttpKernel.php(156): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent)) #44 /home/esclaroch/httpdocs/web/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #45 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #46 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #47 /home/esclaroch/httpdocs/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(184): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #48 /home/esclaroch/httpdocs/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(121): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true) #49 /home/esclaroch/httpdocs/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(75): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true) #50 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #51 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #52 /home/esclaroch/httpdocs/web/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #53 /home/esclaroch/httpdocs/web/core/lib/Drupal/Core/DrupalKernel.php(664): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #54 /home/esclaroch/httpdocs/web/index.php(24): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #55 {main}.

Error message

Warning: Invalid argument supplied for foreach() in _get_ecoles_with_formations_with_univ() (line 79 of modules/custom/filtres_vue_custom/filtres_vue_custom.module).
_get_ecoles_with_formations_with_univ() (Line: 46)
filtres_vue_custom_form_alter(Array, Object, 'views_exposed_form') (Line: 539)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'views_exposed_form') (Line: 830)
Drupal\Core\Form\FormBuilder->prepareForm('views_exposed_form', Array, Object) (Line: 272)
Drupal\Core\Form\FormBuilder->buildForm('views_exposed_form', Object) (Line: 135)
Drupal\views\Plugin\views\exposed_form\ExposedFormPluginBase->renderExposedForm() (Line: 1235)
Drupal\views\ViewExecutable->build(NULL) (Line: 1388)
Drupal\views\ViewExecutable->execute(NULL) (Line: 1451)
Drupal\views\ViewExecutable->render() (Line: 117)
Drupal\views\Plugin\views\display\Block->execute() (Line: 1627)
Drupal\views\ViewExecutable->executeDisplay('bloc_map_universites_partenaires', Array) (Line: 77)
Drupal\views\Element\View::preRenderViewElement(Array) (Line: 59)
Drupal\views\Plugin\Block\ViewsBlock->build() (Line: 203)
Drupal\block\BlockViewBuilder::preRender(Array)
call_user_func('Drupal\block\BlockViewBuilder::preRender', Array) (Line: 378)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 173)
__TwigTemplate_86831baa9819477634eeb387d7b9e708326a615f4cb2bef4ef2172470d717822->doDisplay(Array, Array) (Line: 432)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 403)
Twig_Template->display(Array) (Line: 411)
Twig_Template->render(Array) (Line: 64)
twig_render_template('themes/esc_larochelle/templates/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 490)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 208)
__TwigTemplate_444f338b59a21f52ce1e5e37cb7bb7977ef713ef85ed43275f7bfdd4e0c4a2fe->doDisplay(Array, Array) (Line: 432)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 403)
Twig_Template->display(Array) (Line: 411)
Twig_Template->render(Array) (Line: 64)
twig_render_template('themes/esc_larochelle/templates/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 184)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 121)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 75)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 664)
Drupal\Core\DrupalKernel->handle(Object) (Line: 24)