- Issue created by @ibis
- ππΊHungary ibis
There are the messages from Drupal:
Notice: Trying to access array offset on value of type null in Drupal\weather\Service\ParserService->updatePlaces() (line 259 of modules/contrib/weather-weather/src/Service/ParserService.php).
Drupal\weather\Service\ParserService->updatePlaces(Object) (Line: 179)
Drupal\weather\Service\ParserService->parseForecast(Object, 'geonames_3045190') (Line: 140)
Drupal\weather\Service\ParserService->downloadForecast('geonames_3045190') (Line: 475)
Drupal\weather\Service\ParserService->downloadWeather('geonames_3045190', 1678523825) (Line: 438)
Drupal\weather\Service\ParserService->getWeather('geonames_3045190', 0, 1) (Line: 128)
Drupal\weather\Service\ThemeService->preprocessWeatherVariables(Array, 1) (Line: 81)
template_preprocess_weather_detailed_forecast(Array, 'weather_detailed_forecast', Array)
call_user_func_array('template_preprocess_weather_detailed_forecast', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('weather_detailed_forecast', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
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: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)Notice: Trying to access array offset on value of type null in Drupal\weather\Service\ParserService->updatePlaces() (line 259 of modules/contrib/weather-weather/src/Service/ParserService.php).
Drupal\weather\Service\ParserService->updatePlaces(Object) (Line: 179)
Drupal\weather\Service\ParserService->parseForecast(Object, 'geonames_3045190') (Line: 140)
Drupal\weather\Service\ParserService->downloadForecast('geonames_3045190') (Line: 475)
Drupal\weather\Service\ParserService->downloadWeather('geonames_3045190', 1678523825) (Line: 438)
Drupal\weather\Service\ParserService->getWeather('geonames_3045190', 0, 1) (Line: 128)
Drupal\weather\Service\ThemeService->preprocessWeatherVariables(Array, 1) (Line: 81)
template_preprocess_weather_detailed_forecast(Array, 'weather_detailed_forecast', Array)
call_user_func_array('template_preprocess_weather_detailed_forecast', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('weather_detailed_forecast', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
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: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)Notice: Trying to access array offset on value of type null in Drupal\weather\Service\ParserService->updatePlaces() (line 260 of modules/contrib/weather-weather/src/Service/ParserService.php).
Drupal\weather\Service\ParserService->updatePlaces(Object) (Line: 179)
Drupal\weather\Service\ParserService->parseForecast(Object, 'geonames_3045190') (Line: 140)
Drupal\weather\Service\ParserService->downloadForecast('geonames_3045190') (Line: 475)
Drupal\weather\Service\ParserService->downloadWeather('geonames_3045190', 1678523825) (Line: 438)
Drupal\weather\Service\ParserService->getWeather('geonames_3045190', 0, 1) (Line: 128)
Drupal\weather\Service\ThemeService->preprocessWeatherVariables(Array, 1) (Line: 81)
template_preprocess_weather_detailed_forecast(Array, 'weather_detailed_forecast', Array)
call_user_func_array('template_preprocess_weather_detailed_forecast', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('weather_detailed_forecast', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
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: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)Notice: Trying to access array offset on value of type null in Drupal\weather\Service\ParserService->updatePlaces() (line 262 of modules/contrib/weather-weather/src/Service/ParserService.php).
Drupal\weather\Service\ParserService->updatePlaces(Object) (Line: 179)
Drupal\weather\Service\ParserService->parseForecast(Object, 'geonames_3045190') (Line: 140)
Drupal\weather\Service\ParserService->downloadForecast('geonames_3045190') (Line: 475)
Drupal\weather\Service\ParserService->downloadWeather('geonames_3045190', 1678523825) (Line: 438)
Drupal\weather\Service\ParserService->getWeather('geonames_3045190', 0, 1) (Line: 128)
Drupal\weather\Service\ThemeService->preprocessWeatherVariables(Array, 1) (Line: 81)
template_preprocess_weather_detailed_forecast(Array, 'weather_detailed_forecast', Array)
call_user_func_array('template_preprocess_weather_detailed_forecast', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('weather_detailed_forecast', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
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: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)Notice: Trying to access array offset on value of type null in Drupal\weather\Service\ParserService->updatePlaces() (line 266 of modules/contrib/weather-weather/src/Service/ParserService.php).
Drupal\weather\Service\ParserService->updatePlaces(Object) (Line: 179)
Drupal\weather\Service\ParserService->parseForecast(Object, 'geonames_3045190') (Line: 140)
Drupal\weather\Service\ParserService->downloadForecast('geonames_3045190') (Line: 475)
Drupal\weather\Service\ParserService->downloadWeather('geonames_3045190', 1678523825) (Line: 438)
Drupal\weather\Service\ParserService->getWeather('geonames_3045190', 0, 1) (Line: 128)
Drupal\weather\Service\ThemeService->preprocessWeatherVariables(Array, 1) (Line: 81)
template_preprocess_weather_detailed_forecast(Array, 'weather_detailed_forecast', Array)
call_user_func_array('template_preprocess_weather_detailed_forecast', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('weather_detailed_forecast', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
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: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)Notice: Trying to access array offset on value of type null in Drupal\weather\Service\ParserService->parseForecast() (line 190 of modules/contrib/weather-weather/src/Service/ParserService.php).
Drupal\weather\Service\ParserService->parseForecast(Object, 'geonames_3045190') (Line: 140)
Drupal\weather\Service\ParserService->downloadForecast('geonames_3045190') (Line: 475)
Drupal\weather\Service\ParserService->downloadWeather('geonames_3045190', 1678523825) (Line: 438)
Drupal\weather\Service\ParserService->getWeather('geonames_3045190', 0, 1) (Line: 128)
Drupal\weather\Service\ThemeService->preprocessWeatherVariables(Array, 1) (Line: 81)
template_preprocess_weather_detailed_forecast(Array, 'weather_detailed_forecast', Array)
call_user_func_array('template_preprocess_weather_detailed_forecast', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('weather_detailed_forecast', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
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: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)Notice: Trying to get property 'time' of non-object in Drupal\weather\Service\ParserService->parseForecast() (line 215 of modules/contrib/weather-weather/src/Service/ParserService.php).
Drupal\weather\Service\ParserService->parseForecast(Object, 'geonames_3045190') (Line: 140)
Drupal\weather\Service\ParserService->downloadForecast('geonames_3045190') (Line: 475)
Drupal\weather\Service\ParserService->downloadWeather('geonames_3045190', 1678523825) (Line: 438)
Drupal\weather\Service\ParserService->getWeather('geonames_3045190', 0, 1) (Line: 128)
Drupal\weather\Service\ThemeService->preprocessWeatherVariables(Array, 1) (Line: 81)
template_preprocess_weather_detailed_forecast(Array, 'weather_detailed_forecast', Array)
call_user_func_array('template_preprocess_weather_detailed_forecast', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('weather_detailed_forecast', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
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: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)Warning: Invalid argument supplied for foreach() in Drupal\weather\Service\ParserService->parseForecast() (line 215 of modules/contrib/weather-weather/src/Service/ParserService.php).
Drupal\weather\Service\ParserService->parseForecast(Object, 'geonames_3045190') (Line: 140)
Drupal\weather\Service\ParserService->downloadForecast('geonames_3045190') (Line: 475)
Drupal\weather\Service\ParserService->downloadWeather('geonames_3045190', 1678523825) (Line: 438)
Drupal\weather\Service\ParserService->getWeather('geonames_3045190', 0, 1) (Line: 128)
Drupal\weather\Service\ThemeService->preprocessWeatherVariables(Array, 1) (Line: 81)
template_preprocess_weather_detailed_forecast(Array, 'weather_detailed_forecast', Array)
call_user_func_array('template_preprocess_weather_detailed_forecast', Array) (Line: 287)
Drupal\Core\Theme\ThemeManager->render('weather_detailed_forecast', Array) (Line: 433)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
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: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19) - π§πͺBelgium jjgw
At the moment this module should not be available for download as it does not work at all.
- πΊπ¦Ukraine ysamoylenko
The fix for this problem is already available in a release 2.0.9 β
Please try to re-import places again.
Thank you for reporting the issue.
- Status changed to Fixed
over 1 year ago 3:12pm 22 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.