Mobile Dropdown menu not working

Created on 28 October 2024, about 2 months ago

Problem/Motivation

The mobile menu/or the search is not working in certain conditions:
-anonymous user
-Https mode

The mobile menu is working in following conditions:
-registered user
-http mode ( not secured)
-login to wrong node 404, menu is working until you are again on a real page

Steps to reproduce

-Clean Drupal 11 site on OVH server
-only installed Tara theme
-create 3 articles with menu and link them together
-no action when clicking on the mobile button when not logged in and in https mode
-reproduced in Chrome / edge

💬 Support request
Status

Active

Version

11.0

Component

User interface

Created by

🇧🇪Belgium vandenbosscheg

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

Comments & Activities

  • Issue created by @vandenbosscheg
  • 🇮🇳India ravis

    Sounds like some JavaScript issue at your end.

    1) Open your Drupal site.

    2) Right click and select inspect.

    3) Click console tab.

    4) Do you see any error message. Please reply the error messages.

    Regards:

  • 🇧🇪Belgium vandenbosscheg

    Hi Ravis,

    This is what I discover:

    1) Https://www.wtcjongenfitzele.be when logged out:

    GET https://wtcjongenfitzele.be/node/1 net::ERR_HTTP2_PROTOCOL_ERROR 200 (OK), sometime a l
    -i have this on every page, menu-button is not working
    -Js files looks correctly loaded ( in elements)

    2) Https://www.wtcjongenfitzele.be/front ( page is not found)

    -GET https://wtcjongenfitzele.be/front 404 (Not Found) but mobile button / search is working

    3) Http://www.wtcjongenfitzele.be when logged in:
    -no messages in the console

    The website is still online on an OVH server. On WAMP local everything is working properly. Looked in to it for many days.

    Some additional info:
    -Look like the menu-botton is not activated, i added an alert (change the tara.js) screen when the button is pressed . Working in http mode or logged in.
    -all directories has 755 config
    -no differencee PHP 8.2 /8.3

Production build 0.71.5 2024