Undefined method Drupal\bee\EventSubscriber\OrderEventSubscriber::t()

Created on 19 January 2024, 11 months ago
Updated 16 April 2024, 8 months ago

Problem/Motivation

Error: Call to undefined method Drupal\bee\EventSubscriber\OrderEventSubscriber::t() in Drupal\bee\EventSubscriber\OrderEventSubscriber->getEventSeriesLabel() (line 225 of modules/contrib/bee/src/EventSubscriber/OrderEventSubscriber.php).

Steps to reproduce

1. Fresh install of Drupal 10.2.2. on DDEV with BAT 8.10.1-rc2 and BEE 8.3-beta4
2. Drupal Commerce enabled (manual payment gateway)
3. Content type Room - with BEE and payment enabled
4. No further reservation availability constrains
5. Attempting to make a reservation for a room on two subsequent days (20-21 January) repeating until 28th of February (5 times)

On saving the reservation the error above is thrown.

Proposed resolution

I don't know if this helps, but while BEE is attempting to get the Event series label, I noticed that on BAT Event series list no Event series is defined/available (standard setup).

🐛 Bug report
Status

Closed: won't fix

Component

Code

Created by

🇮🇪Ireland marksmith

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