On a fresh install I am seeing the following error message:

[error]  TypeError: Drupal\office_hours\Hook\OfficeHoursHooks::tokens(): Argument #4 ($options) must be of type array, Drupal\Core\Render\BubbleableMetadata given, called in /app/web/modules/contrib/office_hours/office_hours.module on line 117 in Drupal\office_hours\Hook\OfficeHoursHooks->tokens() (line 23 of /app/web/modules/contrib/office_hours/src/Hook/OfficeHoursHooks.php) #0 /app/web/modules/contrib/office_hours/office_hours.module(117): Drupal\office_hours\Hook\OfficeHoursHooks->tokens('node', Array, Array, Object(Drupal\Core\Render\BubbleableMetadata))

I tried to do a secondary fresh install with simplytest.me, but it is still showing version 1.23 as the latest.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jackfoust created an issue. See original summary.

harkonn made their first commit to this issue’s fork.

harkonn’s picture

Status: Active » Needs review

There was one Paramter missing in the transition to the new code structure. I added it back in the Merge-Request and the error should be fixed.

  • johnv committed b4bca335 on 8.x-1.x
    Issue #3515053 by harkonn, jackfoust: argument options of type array...
johnv’s picture

Status: Needs review » Fixed

Thanks. Version 1.26 is now released.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.