- Issue created by @swirt
- πΊπΈUnited States swirt Florida
Also seeing this error trying to run 'TestDo10ThingsOnCron'
TypeError: Cannot access offset of type array on array in Drupal\Core\Database\Query\Merge->key() (line 331 of core/lib/Drupal/Core/Database/Query/Merge.php). Drupal\codit_batch_operations\Cron\CronManager->querySetCronTime() (Line: 635) Drupal\codit_batch_operations\Cron\CronManager->setCronLastRan(NULL) (Line: 554) Drupal\codit_batch_operations\Cron\CronManager->queryGetCronTime() (Line: 618) Drupal\codit_batch_operations\Cron\CronManager->getCronLastRan() (Line: 874) Drupal\codit_batch_operations\Cron\CronManager->getCronShouldRunAfter() (Line: 715)
- πΊπΈUnited States swirt Florida
I found the problem
"Passing an array to the \$field argument of " . __METHOD__ . '() is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/2205327', E_USER_DEPRECATED
I am kind of surprised Drupal Rector did not spot it.
Automatically closed - issue fixed for 2 weeks with no activity.