Use t() instead of dt().

Created on 31 January 2023, almost 2 years ago
Updated 6 February 2023, almost 2 years ago

Problem/Motivation

When running through cron:
Error: Call to undefined function Drupal\queue_throttle\dt() in Drupal\queue_throttle\QueueThrottleService->runQueue() (line 114 of modules/contrib/queue_throttle/src/QueueThrottleService.php).

Drupal 9.4.3
Php 8.0.19

Steps to reproduce

Install queue_throttle module
Enable module
Set up configuration
Add hook cron

$throttle = Drupal::service('queue_throttle.cron');
$throttle->run();

Run cron

Proposed resolution

Use t() instead of dt().

🐛 Bug report
Status

RTBC

Version

1.2

Component

Code

Created by

🇸🇮Slovenia bozin-miovski

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

Comments & Activities

Production build 0.71.5 2024