Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal durch MUltilang Plugin in Portalmenus #1580

Open
xwolfde opened this issue Mar 6, 2025 · 0 comments
Open

Fatal durch MUltilang Plugin in Portalmenus #1580

xwolfde opened this issue Mar 6, 2025 · 0 comments
Labels
Code Codeoptiminierung Plugin Problem

Comments

@xwolfde
Copy link
Member

xwolfde commented Mar 6, 2025

Wenn ein Portalmenu eingebunden wird , es aber eine Version mit RRZE Multilang gibt UND dann das eingebundene und anzuzeigende Menu keine Sprachvariante angeklickt hat, gibt es ein Fatal

https://github.com/RRZE-Webteam/FAU-Natfak/blame/0b8905119cd280e07ee0462900d2b9edc7ff62f4/functions/menu.php#L740

Im Theme bzw im Walker ist ein fehler, aber es kommt daraus, dass es kein Fallback gibt in $item->classes, wenn dieses nicht ovm Typ Post ist.
Daher Fallback einbauen.

@xwolfde xwolfde added Code Codeoptiminierung Plugin Problem labels Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Codeoptiminierung Plugin Problem
Projects
None yet
Development

No branches or pull requests

1 participant