Error: Call to undefined function office_hours_exceptions_preprocess_field() in office_hours_preprocess_field() (line 84 of modules/contrib/office_hours/office_hours.theme.inc).

Created on 15 January 2025, about 2 months ago

Problem/Motivation

After adding a new office hours field not authenticated users get a (after cache clear):

"Error: Call to undefined function office_hours_exceptions_preprocess_field() in office_hours_preprocess_field() (line 84 of modules/contrib/office_hours/office_hours.theme.inc)."

Steps to reproduce

1. Create a custom block type
2. Add an office hours field to this block type (Formatter "Plaintext", Show only open, Compress all hours of a day into one set = true, Summarise consecutive days with identical times = true, Show current Status = After hours)
3. Configure the block to show up in any region
4. Open the page as guest user => error => reload => no error => cc => error

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.21

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024