Undefined array key "url" in gin_preprocess_breadcrumb()

Created on 23 October 2023, almost 2 years ago
Updated 24 January 2024, over 1 year ago

I get the following warning on almost every page where the breadcrumb is.
Warning: Undefined array key "url" in gin_preprocess_breadcrumb() (line 47 of themes/contrib/gin/includes/breadcrumb.theme).

Edit: it happens on one of our site because we add the current page to the breadcrumb without any url. While it is correctly working without this custom code, I think that it's better to introduces a check on the url key.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇫🇷France nicolasgraph Strasbourg

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