I am getting this error suddenly when Google News bot vits the news.xml link.
Warning: Undefined array key "loc" in template_preprocess_views_view_row_googlenews() (line 54 of /home/sitename/public_html/modules/views_googlenews/views_googlenews.module)
ED: Adding full error message
Warning: Undefined array key "loc" in template_preprocess_views_view_row_googlenews() (line 54 of /home/sitename/public_html/modules/views_googlenews/views_googlenews.module)
#0 /home/sitename/public_html/core/includes/bootstrap.inc(347): _drupal_error_handler_real(2, 'Undefined array...', '/home/sitename...', 54)
#1 /home/sitename/public_html/modules/views_googlenews/views_googlenews.module(54): _drupal_error_handler(2, 'Undefined array...', '/home/sitename...', 54)
#2 [internal function]: template_preprocess_views_view_row_googlenews(Array, 'views_view_row_...', Array)
#3 /home/sitename/public_html/core/lib/Drupal/Core/Theme/ThemeManager.php(287): call_user_func_array('template_prepro...', Array)
#4 /home/sitename/public_html/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render('views_view_row_...', Array)
#5 /home/sitename/public_html/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender(Array)
#6 /home/sitename/public_html/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, false)
#7 /home/sitename/public_html/core/lib/Drupal/Core/Template/TwigExtension.php(479): Drupal\Core\Render\Renderer->render(Array)
#8 /home/sitename/public_html/sites/themename/files/php/twig/64931d90bd355_views-view-googlenews.htm_Ngm1og3NGO7uEcA3eRvWWn96g/hzOna0IOHe9kb9K5uH1KhAJ1bnCygtpjMDlQ01LalH8.php(44): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#9 /home/sitename/public_html/vendor/twig/twig/src/Template.php(405): __TwigTemplate_b41777714fba3ac4acc9697226348407->doDisplay(Array, Array)
#10 /home/sitename/public_html/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling(Array, Array)
#11 /home/sitename/public_html/vendor/twig/twig/src/Template.php(390): Twig\Template->display(Array)
#12 /home/sitename/public_html/core/themes/engines/twig/twig.engine(55): Twig\Template->render(Array)
#13 /home/sitename/public_html/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template('modules/views_g...', Array)
#14 /home/sitename/public_html/core/lib/Drupal/Core/Render/Renderer.php(433): Drupal\Core\Theme\ThemeManager->render('views_view_goog...', Array)
#15 /home/sitename/public_html/core/lib/Drupal/Core/Render/Renderer.php(446): Drupal\Core\Render\Renderer->doRender(Array)
#16 /home/sitename/public_html/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender(Array, true)
#17 /home/sitename/public_html/core/lib/Drupal/Core/Render/Renderer.php(148): Drupal\Core\Render\Renderer->render(Array, true)
#18 /home/sitename/public_html/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
#19 /home/sitename/public_html/core/lib/Drupal/Core/Render/Renderer.php(149): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#20 /home/sitename/public_html/core/modules/views/src/Plugin/views/display/Feed.php(109): Drupal\Core\Render\Renderer->renderRoot(Array)
#21 /home/sitename/public_html/core/modules/views/src/Routing/ViewPageController.php(56): Drupal\views\Plugin\views\display\Feed::buildResponse('rss_feeds', 'feed_8', Array)
#22 [internal function]: Drupal\views\Routing\ViewPageController->handle('rss_feeds', 'feed_8', Object(Drupal\Core\Routing\RouteMatch))
#23 /home/sitename/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#24 /home/sitename/public_html/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#25 /home/sitename/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#26 /home/sitename/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#27 /home/sitename/public_html/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#28 /home/sitename/public_html/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#29 /home/sitename/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /home/sitename/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /home/sitename/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(191): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /home/sitename/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /home/sitename/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /home/sitename/public_html/modules/advban/src/AdvbanMiddleware.php(57): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /home/sitename/public_html/core/modules/ban/src/BanMiddleware.php(50): Drupal\advban\AdvbanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /home/sitename/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 /home/sitename/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#38 /home/sitename/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 /home/sitename/public_html/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#40 /home/sitename/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#41 {main}