Undefined array key

Created on 25 August 2023, over 1 year ago
Updated 10 September 2024, 3 months ago

Problem/Motivation

I'm now seeing these warnings after upgrading to 9.2.5:

Warning: Undefined array key "next_call" in Cleantalk\Common\Cron\Cron->checkTasks() (line 255 of /var/www/mysite/web/modules/contrib/cleantalk/lib/Cleantalk/Common/Cron/Cron.php)
#0 /var/www/mysite/web/core/includes/bootstrap.inc(347): _drupal_error_handler_real()
#1 /var/www/mysite/web/modules/contrib/cleantalk/lib/Cleantalk/Common/Cron/Cron.php(255): _drupal_error_handler()
#2 /var/www/mysite/web/modules/contrib/cleantalk/src/EventSubscriber/BootSubscriber.php(172): Cleantalk\Common\Cron\Cron->checkTasks()
#3 /var/www/mysite/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\cleantalk\EventSubscriber\BootSubscriber->handle()
#4 /var/www/mysite/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
#5 /var/www/mysite/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#6 /var/www/mysite/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#7 /var/www/mysite/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle()
#8 /var/www/mysite/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#9 {main}

Warning: Undefined array key "handler" in Cleantalk\Common\Cron\Cron->runTasks() (line 290 of /var/www/mysite/web/modules/contrib/cleantalk/lib/Cleantalk/Common/Cron/Cron.php)
#0 /var/www/mysite/web/core/includes/bootstrap.inc(347): _drupal_error_handler_real()
#1 /var/www/mysite/web/modules/contrib/cleantalk/lib/Cleantalk/Common/Cron/Cron.php(290): _drupal_error_handler()
#2 /var/www/mysite/web/modules/contrib/cleantalk/src/EventSubscriber/BootSubscriber.php(182): Cleantalk\Common\Cron\Cron->runTasks()
#3 /var/www/mysite/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\cleantalk\EventSubscriber\BootSubscriber->handle()
#4 /var/www/mysite/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
#5 /var/www/mysite/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#6 /var/www/mysite/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#7 /var/www/mysite/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle()
#8 /var/www/mysite/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#9 {main}

Warning: Undefined array key "handler" in Cleantalk\Common\Cron\Cron->runTasks() (line 320 of /var/www/mysite/web/modules/contrib/cleantalk/lib/Cleantalk/Common/Cron/Cron.php)
#0 /var/www/mysite/web/core/includes/bootstrap.inc(347): _drupal_error_handler_real()
#1 /var/www/mysite/web/modules/contrib/cleantalk/lib/Cleantalk/Common/Cron/Cron.php(320): _drupal_error_handler()
#2 /var/www/mysite/web/modules/contrib/cleantalk/src/EventSubscriber/BootSubscriber.php(182): Cleantalk\Common\Cron\Cron->runTasks()
#3 /var/www/mysite/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\cleantalk\EventSubscriber\BootSubscriber->handle()
#4 /var/www/mysite/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
#5 /var/www/mysite/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#6 /var/www/mysite/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#7 /var/www/mysite/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle()
#8 /var/www/mysite/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#9 {main}

🐛 Bug report
Status

Fixed

Version

9.2

Component

Code

Created by

🇺🇸United States sah62 US

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