- Issue created by @iaacristobal
- Merge request !97Issue #3502972: Adding user account menu in mega menu causes error → (Open) created by Unnamed author
- 🇮🇳India vinayakmk47
Fixed Issue: When adding the User account menu to TB Mega Menu, it threw an error:
TypeError: Illegal offset type in template_preprocess_tb_megamenu_subnav().
Resolution: Ensured $title is cast to a string before using it as an array key.
Testing: Verified with User account menu, rendering correctly without errors.
Created a merge request please review and let me know if there are any changes. @vinayakmk47 i also work for this issue i apply little changes to resolve this issue. please check it .
- 🇮🇳India vinayakmk47
Thank you, @niharika.s, for working on this issue and applying additional changes. I’ll review your modifications to see how they align with the current implementation. Let’s ensure the solution works seamlessly across all scenarios. I’ll provide feedback after testing your changes.