ParseError: syntax error, unexpected identifier "menu", expecting "]"

Created on 23 June 2023, over 1 year ago
Updated 8 August 2023, over 1 year ago

When I install the theme and set it to default an error shows like-

ParseError: syntax error, unexpected identifier "menu", expecting "]" in Drupal\Core\Extension\Extension->load() (line 1570 of /app/themes/moksu/moksu.theme)

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @shweta__sharma
  • @shweta__sharma opened merge request.
  • Status changed to Needs review over 1 year ago
  • Pushed the code. Please verify.

  • 🇮🇳India Raveen Kumar

    Hello Shweta,
    After installing the theme, I was getting the error as - The website encountered an unexpected error. Please try again later.
    ParseError: syntax error, unexpected identifier "menu", expecting "]" in Drupal\Core\Extension\Extension->load() (line 1570 of themes/contrib/moksu/moksu.theme).

    I reviewed & implemented the MR! code And it worked fine for me. The error was gone after making chnages in the code as per MR!.
    I am adding my screenshot for reference.
    And Thank You.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹
Production build 0.71.5 2024