PHP error in latest Varbase 10.1

Created on 16 November 2023, 11 months ago
Updated 24 November 2023, 10 months ago

Problem/Motivation

PHP error crashes website in latest Varbase version, Drupal 10.1.

Steps to reproduce

composer require 'drupal/fontawesome_menu_icons:^2.0'
drush in fontawesome_menu_icons
drush cr

Launching Drupal in browser returns error: "The website encountered an unexpected error. Please try again later.".

Watchdog output:

'Error: Call to a member function getOptions() on string in _fontawesome_menu_icons_preprocess_menu_item() (line 383 of /var/www/varbase/docroot/modules/contrib/fontawesome_menu_icons/fontawesome_menu_icons.module).'

Drupal 10.1.6
PHP 8.2.7

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

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