openeuropa / oe_bootstrap_theme

Bootstrap-based theme
European Union Public License 1.2
6 stars 13 forks source link

Error into menu inc file after log in #280

Closed paulanavarroDAW closed 1 year ago

paulanavarroDAW commented 2 years ago

Hi,

We found an error using this module on our project. When you are logged in via ecas, with a user that is not an administrator, we get this error when we try to access some pages:

So in Drupal logs, we found the following error: Error: Call to a member function access() on null in oe_bootstrap_theme_prepare_menu_local_task_links() (line 162)

We detected this error on the user profile and node pages. To reproduce this issue:

PR: https://github.com/openeuropa/oe_bootstrap_theme/pull/279

brummbar commented 1 year ago

Hello @paulanavarroDAW , did you try a more recent version of the theme? We reworked that method recently.

brummbar commented 1 year ago

The error seems to be the same reported here #285 and fixed in #286.