Trying to access array offset on value of type null in bat_event_cron

Created on 12 February 2024, 10 months ago
Updated 20 June 2024, 5 months ago

Problem/Motivation

Warning: Trying to access array offset on value of type null in bat_event_cron() (line 35 of modules/contrib/bat/modules/bat_event/bat_event.module).
bat_event_cron(Object)
call_user_func('bat_event_cron', Object) (Line: 325)
Drupal\ultimate_cron\Entity\CronJob->invokeCallback() (Line: 471)
Drupal\ultimate_cron\Entity\CronJob->run(Object) (Line: 213)
Drupal\ultimate_cron\Plugin\ultimate_cron\Launcher\SerialLauncher->launch(Object) (Line: 334)
Drupal\ultimate_cron\Plugin\ultimate_cron\Launcher\SerialLauncher->runThread('1011', 1, Array) (Line: 309)
Drupal\ultimate_cron\Plugin\ultimate_cron\Launcher\SerialLauncher->launchJobs(Array) (Line: 65)
Drupal\ultimate_cron\UltimateCron->run() (Line: 70)
Drupal\ultimate_cron\ProxyClass\UltimateCron->run() (Line: 59)
Drupal\system\CronController->runManually()
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 54)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 39)
Drupal\bat_api\StackMiddleware\BatApiMiddleware->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: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->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: 45)
Drupal\services\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 43)
Drupal\webform_product\RedirectMiddleware->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: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 714)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Steps to reproduce

I get this page on /admin/reports
I have installed and have not configured bat/bee at all

I am placing here to track as I debug

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Component

Code

Created by

🇺🇸United States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024