Error message
Deprecated function: Return type of Drupal\google_analytics\Component\Render\GoogleAnalyticsJavaScriptSnippet::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in
include() (line
10 of
modules/composer/google_analytics/src/Component/Render/GoogleAnalyticsJavaScriptSnippet.php).
include('/code/web/modules/composer/google_analytics/src/Component/Render/GoogleAnalyticsJavaScriptSnippet.php') (Line: 571)
Composer\Autoload\includeFile('/code/web/modules/composer/google_analytics/src/Component/Render/GoogleAnalyticsJavaScriptSnippet.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Drupal\google_analytics\Component\Render\GoogleAnalyticsJavaScriptSnippet') (Line: 372)
google_analytics_page_attachments(Array) (Line: 313)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}(Object, 'google_analytics') (Line: 405)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('page_attachments', Object) (Line: 314)
Drupal\Core\Render\MainContent\HtmlRenderer->invokePageAttachmentHooks(Array) (Line: 288)
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: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->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: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Geospatial Food Environment Exposure and Obesity among Low Income Baltimore City Children: Associations Differ by Data Source and Processing Method
July 13, 2022
Journal of Hunger & Environmental Nutrition
Kharmats AY, Corrigan AE Curriero, FC, Neff R, Caulfield L, Kennedy CE, Whitley J, Montazer JS, Hu L, Gittelsohn J.
Due to the high prevalence of childhood obesity, it is imperative to assess the relationship children’s access to food retailers and obesity. However, the influence of methodological decisions on these associations has been understudied. We examined relationships between different measures of geospatial food environment (using 4 data sources, and 2 data processing methods), and BMI in a sample of low-income children in Baltimore, Maryland. The choice of data sources and data processing methods produced large differences in estimates of children’s exposures to certain store types, such as supermarket-like stores, but had less impact on associations with BMI z-scores.