jos-Warning: exception 'Whoops\Exception\ErrorException' with message 'Invalid argument supplied for foreach()' in /home/bestofmargs/public_html/libraries/gantry5/classes/Gantry/Component/Twig/TwigExtension.php:226
Stack trace:
#0 /home/bestofmargs/public_html/libraries/gantry5/classes/Gantry/Component/Whoops/Run.php(71): Whoops\Run->handleError(2, 'Invalid argumen...', '/home/bestofmar...', 226)
#1 /home/bestofmargs/public_html/libraries/gantry5/classes/Gantry/Component/Twig/TwigExtension.php(226): Gantry\Component\Whoops\Run->handleError(2, 'Invalid argumen...', '/home/bestofmar...', 226, Array)
#2 /home/bestofmargs/public_html/cache/gantry5/twig/f/0/f0125e4ad128c6674b0059f16963f73a96a45523e207c147fe87689a1f405a81.php(40): Gantry\Component\Twig\TwigExtension->parseAssetsFunc(Object(Twig_Markup), 'head', 10)
#3 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(322): __TwigTemplate_f0125e4ad128c6674b0059f16963f73a96a45523e207c147fe87689a1f405a81->doDisplay(Array, Array)
#4 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(296): Twig_Template->displayWithErrorHandling(Array, Array)
#5 /home/bestofmargs/public_html/cache/gantry5/twig/e/b/eb57ed404f3317dc213412e88efaa5ebed7e985f56f5306de00cd01d9c3651d8.php(26): Twig_Template->display(Array, Array)
#6 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(322): __TwigTemplate_eb57ed404f3317dc213412e88efaa5ebed7e985f56f5306de00cd01d9c3651d8->doDisplay(Array, Array)
#7 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(296): Twig_Template->displayWithErrorHandling(Array, Array)
#8 /home/bestofmargs/public_html/cache/gantry5/twig/9/f/9fd284bc15fae65830bd18930420372e3b3d20aa508970b8cb6c5b573a624d95.php(24): Twig_Template->display(Array, Array)
#9 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(322): __TwigTemplate_9fd284bc15fae65830bd18930420372e3b3d20aa508970b8cb6c5b573a624d95->doDisplay(Array, Array)
#10 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(296): Twig_Template->displayWithErrorHandling(Array, Array)
#11 /home/bestofmargs/public_html/cache/gantry5/twig/4/a/4a97cf8c1550070e4ad54c845a9848c7d58f6dab8930bd61bc28c79140ae735e.php(32): Twig_Template->display(Array)
#12 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(156): __TwigTemplate_4a97cf8c1550070e4ad54c845a9848c7d58f6dab8930bd61bc28c79140ae735e->block_page_head(Array, Array)
#13 /home/bestofmargs/public_html/cache/gantry5/twig/f/6/f63d3306ce1505980b1e9e6a2fbdd7c6387d3b8f43040009feeb895523ddff96.php(166): Twig_Template->displayBlock('page_head', Array, Array)
#14 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(156): __TwigTemplate_f63d3306ce1505980b1e9e6a2fbdd7c6387d3b8f43040009feeb895523ddff96->block_page(Array, Array)
#15 /home/bestofmargs/public_html/cache/gantry5/twig/f/6/f63d3306ce1505980b1e9e6a2fbdd7c6387d3b8f43040009feeb895523ddff96.php(77): Twig_Template->displayBlock('page', Array, Array)
#16 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(322): __TwigTemplate_f63d3306ce1505980b1e9e6a2fbdd7c6387d3b8f43040009feeb895523ddff96->doDisplay(Array, Array)
#17 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(296): Twig_Template->displayWithErrorHandling(Array, Array)
#18 /home/bestofmargs/public_html/cache/gantry5/twig/4/a/4a97cf8c1550070e4ad54c845a9848c7d58f6dab8930bd61bc28c79140ae735e.php(25): Twig_Template->display(Array, Array)
#19 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(322): __TwigTemplate_4a97cf8c1550070e4ad54c845a9848c7d58f6dab8930bd61bc28c79140ae735e->doDisplay(Array, Array)
#20 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(296): Twig_Template->displayWithErrorHandling(Array, Array)
#21 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(307): Twig_Template->display(Array)
#22 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Environment.php(293): Twig_Template->render(Array)
#23 /home/bestofmargs/public_html/libraries/gantry5/classes/Gantry/Framework/Theme.php(80): Twig_Environment->render('error.html.twig', Array)
#24 /home/bestofmargs/public_html/templates/rt_callisto/error.php(29): Gantry\Framework\Theme->render('error.html.twig', Array)
#25 /home/bestofmargs/public_html/libraries/joomla/document/error/error.php(135): require_once('/home/bestofmar...')
#26 /home/bestofmargs/public_html/libraries/joomla/document/error/error.php(106): JDocumentError->_loadTemplate('/home/bestofmar...', 'error.php')
#27 /home/bestofmargs/public_html/libraries/legacy/error/error.php(798): JDocumentError->render(false, Array)
#28 [internal function]: JError::customErrorPage(Object(JException))
#29 /home/bestofmargs/public_html/libraries/legacy/error/error.php(760): call_user_func(Array, Object(JException))
#30 [internal function]: JError::handleCallback(Object(JException), Array)
#31 /home/bestofmargs/public_html/libraries/legacy/error/error.php(218): call_user_func_array(Array, Array)
#32 /home/bestofmargs/public_html/libraries/legacy/error/error.php(179): JError::throwError(Object(JException))
#33 /home/bestofmargs/public_html/libraries/legacy/error/error.php(254): JError::raise(1, 404, 'Article not fou...', NULL, true)
#34 /home/bestofmargs/public_html/components/com_content/models/article.php(163): JError::raiseError(404, 'Article not fou...')
#35 /home/bestofmargs/public_html/libraries/legacy/view/legacy.php(401): ContentModelArticle->getItem()
#36 /home/bestofmargs/public_html/components/com_content/views/article/view.html.php(42): JViewLegacy->get('Item')
#37 /home/bestofmargs/public_html/libraries/legacy/controller/legacy.php(690): ContentViewArticle->display()
#38 /home/bestofmargs/public_html/components/com_content/controller.php(104): JControllerLegacy->display(true, Array)
#39 /home/bestofmargs/public_html/libraries/legacy/controller/legacy.php(728): ContentController->display()
#40 /home/bestofmargs/public_html/components/com_content/content.php(16): JControllerLegacy->execute(NULL)
#41 /home/bestofmargs/public_html/libraries/cms/component/helper.php(391): require_once('/home/bestofmar...')
#42 /home/bestofmargs/public_html/libraries/cms/component/helper.php(371): JComponentHelper::executeComponent('/home/bestofmar...')
#43 /home/bestofmargs/public_html/libraries/cms/application/site.php(191): JComponentHelper::renderComponent('com_content')
#44 /home/bestofmargs/public_html/libraries/cms/application/site.php(230): JApplicationSite->dispatch()
#45 /home/bestofmargs/public_html/libraries/cms/application/cms.php(252): JApplicationSite->doExecute()
#46 /home/bestofmargs/public_html/index.php(40): JApplicationCms->execute()
#47 {main}
Next exception 'Twig_Error_Runtime' with message 'An exception has been thrown during the rendering of a template ("Invalid argument supplied for foreach()") in "@nucleus/page_head.html.twig" at line 22.' in /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php:337
Stack trace:
#0 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(296): Twig_Template->displayWithErrorHandling(Array, Array)
#1 /home/bestofmargs/public_html/cache/gantry5/twig/e/b/eb57ed404f3317dc213412e88efaa5ebed7e985f56f5306de00cd01d9c3651d8.php(26): Twig_Template->display(Array, Array)
#2 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(322): __TwigTemplate_eb57ed404f3317dc213412e88efaa5ebed7e985f56f5306de00cd01d9c3651d8->doDisplay(Array, Array)
#3 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(296): Twig_Template->displayWithErrorHandling(Array, Array)
#4 /home/bestofmargs/public_html/cache/gantry5/twig/9/f/9fd284bc15fae65830bd18930420372e3b3d20aa508970b8cb6c5b573a624d95.php(24): Twig_Template->display(Array, Array)
#5 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(322): __TwigTemplate_9fd284bc15fae65830bd18930420372e3b3d20aa508970b8cb6c5b573a624d95->doDisplay(Array, Array)
#6 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(296): Twig_Template->displayWithErrorHandling(Array, Array)
#7 /home/bestofmargs/public_html/cache/gantry5/twig/4/a/4a97cf8c1550070e4ad54c845a9848c7d58f6dab8930bd61bc28c79140ae735e.php(32): Twig_Template->display(Array)
#8 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(156): __TwigTemplate_4a97cf8c1550070e4ad54c845a9848c7d58f6dab8930bd61bc28c79140ae735e->block_page_head(Array, Array)
#9 /home/bestofmargs/public_html/cache/gantry5/twig/f/6/f63d3306ce1505980b1e9e6a2fbdd7c6387d3b8f43040009feeb895523ddff96.php(166): Twig_Template->displayBlock('page_head', Array, Array)
#10 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(156): __TwigTemplate_f63d3306ce1505980b1e9e6a2fbdd7c6387d3b8f43040009feeb895523ddff96->block_page(Array, Array)
#11 /home/bestofmargs/public_html/cache/gantry5/twig/f/6/f63d3306ce1505980b1e9e6a2fbdd7c6387d3b8f43040009feeb895523ddff96.php(77): Twig_Template->displayBlock('page', Array, Array)
#12 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(322): __TwigTemplate_f63d3306ce1505980b1e9e6a2fbdd7c6387d3b8f43040009feeb895523ddff96->doDisplay(Array, Array)
#13 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(296): Twig_Template->displayWithErrorHandling(Array, Array)
#14 /home/bestofmargs/public_html/cache/gantry5/twig/4/a/4a97cf8c1550070e4ad54c845a9848c7d58f6dab8930bd61bc28c79140ae735e.php(25): Twig_Template->display(Array, Array)
#15 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(322): __TwigTemplate_4a97cf8c1550070e4ad54c845a9848c7d58f6dab8930bd61bc28c79140ae735e->doDisplay(Array, Array)
#16 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(296): Twig_Template->displayWithErrorHandling(Array, Array)
#17 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Template.php(307): Twig_Template->display(Array)
#18 /home/bestofmargs/public_html/libraries/gantry5/vendor/twig/twig/lib/Twig/Environment.php(293): Twig_Template->render(Array)
#19 /home/bestofmargs/public_html/libraries/gantry5/classes/Gantry/Framework/Theme.php(80): Twig_Environment->render('error.html.twig', Array)
#20 /home/bestofmargs/public_html/templates/rt_callisto/error.php(29): Gantry\Framework\Theme->render('error.html.twig', Array)
#21 /home/bestofmargs/public_html/libraries/joomla/document/error/error.php(135): require_once('/home/bestofmar...')
#22 /home/bestofmargs/public_html/libraries/joomla/document/error/error.php(106): JDocumentError->_loadTemplate('/home/bestofmar...', 'error.php')
#23 /home/bestofmargs/public_html/libraries/legacy/error/error.php(798): JDocumentError->render(false, Array)
#24 [internal function]: JError::customErrorPage(Object(JException))
#25 /home/bestofmargs/public_html/libraries/legacy/error/error.php(760): call_user_func(Array, Object(JException))
#26 [internal function]: JError::handleCallback(Object(JException), Array)
#27 /home/bestofmargs/public_html/libraries/legacy/error/error.php(218): call_user_func_array(Array, Array)
#28 /home/bestofmargs/public_html/libraries/legacy/error/error.php(179): JError::throwError(Object(JException))
#29 /home/bestofmargs/public_html/libraries/legacy/error/error.php(254): JError::raise(1, 404, 'Article not fou...', NULL, true)
#30 /home/bestofmargs/public_html/components/com_content/models/article.php(163): JError::raiseError(404, 'Article not fou...')
#31 /home/bestofmargs/public_html/libraries/legacy/view/legacy.php(401): ContentModelArticle->getItem()
#32 /home/bestofmargs/public_html/components/com_content/views/article/view.html.php(42): JViewLegacy->get('Item')
#33 /home/bestofmargs/public_html/libraries/legacy/controller/legacy.php(690): ContentViewArticle->display()
#34 /home/bestofmargs/public_html/components/com_content/controller.php(104): JControllerLegacy->display(true, Array)
#35 /home/bestofmargs/public_html/libraries/legacy/controller/legacy.php(728): ContentController->display()
#36 /home/bestofmargs/public_html/components/com_content/content.php(16): JControllerLegacy->execute(NULL)
#37 /home/bestofmargs/public_html/libraries/cms/component/helper.php(391): require_once('/home/bestofmar...')
#38 /home/bestofmargs/public_html/libraries/cms/component/helper.php(371): JComponentHelper::executeComponent('/home/bestofmar...')
#39 /home/bestofmargs/public_html/libraries/cms/application/site.php(191): JComponentHelper::renderComponent('com_content')
#40 /home/bestofmargs/public_html/libraries/cms/application/site.php(230): JApplicationSite->dispatch()
#41 /home/bestofmargs/public_html/libraries/cms/application/cms.php(252): JApplicationSite->doExecute()
#42 /home/bestofmargs/public_html/index.php(40): JApplicationCms->execute()
#43 {main}