Primary Sidebar Menu - javascript errors

Created on 8 July 2025, 1 day ago

Problem/Motivation

When moving the user account menu into the Primary Sidebar Menu then there are javascript errors:
I have tested this on 2 different Drupal 11.2 sites with same results. One has the current dev version the other 1.0.22 of solo.

Uncaught TypeError: can't access property "getLayout", Drupal.solo is undefined
    <anonymous> https://www2.myserver.net/themes/contrib/solo/js/menu/solo-menu.js?sz3hcs:14
    <anonymous> https://www2.myserver.net/themes/contrib/solo/js/menu/solo-menu.js?sz3hcs:459
solo-menu.js:14:24
Uncaught TypeError: can't access property "getLayout", Drupal.solo is undefined
    <anonymous> https://www2.myserver.net/themes/contrib/solo/js/menu/solo-menu-mobile.js?sz3hcs:13
    <anonymous> https://www2.myserver.net/themes/contrib/solo/js/menu/solo-menu-mobile.js?sz3hcs:165
solo-menu-mobile.js:13:23
Uncaught TypeError: can't access property "sideMenubarToggleNav", Drupal.solo is undefined
    <anonymous> https://www2.myserver.net/themes/contrib/solo/js/menu/solo-menu-side.js?sz3hcs:101
    <anonymous> https://www2.myserver.net/themes/contrib/solo/js/menu/solo-menu-side.js?sz3hcs:144
solo-menu-side.js:1

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria maxilein

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @maxilein
  • πŸ‡¦πŸ‡ΉAustria maxilein

    Maybe it is important to know that I changed the order of the primary menu above the header.

  • πŸ‡ΊπŸ‡ΈUnited States flashwebcenter Austin TX

    Hello,

    I have tested this scenario on both a fresh install and the demo site and did not encounter any errors.

    The issue appears to be that the solo-utils.js file is missing. Please ensure that this file is present in your installation. If you have a URL available, I would be happy to review it for you.

    Best wishes,
    Alaa

  • πŸ‡ΊπŸ‡ΈUnited States flashwebcenter Austin TX
Production build 0.71.5 2024