I download and install the version 8.x-1.3
and get the message "The website encountered an unexpected error. Please try again later.

i see the dblog page and see this error

ParseError: syntax error, unexpected '=' en Drupal\Core\Extension\Extension->load() (línea 67 de /var/www/html/---/modules/menu_admin_per_menu/menu_admin_per_menu.module)

in the line 67 i change [$current_menu,] for [$current_menu] and the error dissapear :)

CommentFileSizeAuthor
#6 3159649-6.patch1.12 KBjeroent
#5 3159649-5.patch1.11 KBjeroent

Comments

Cangurin limpiezas created an issue. See original summary.

cangurin limpiezas’s picture

Status: Fixed » Active
jeroent’s picture

Status: Active » Postponed (maintainer needs more info)

@Cangurin limpiezas,

Which PHP version are you using?

jeroent’s picture

Status: Postponed (maintainer needs more info) » Needs work

Ah, I noticed this seems to be a problem on PHP 7.0. On PHP 7.1 or later this will work fine.

@Cangurin limpiezas can you provide a patch?

jeroent’s picture

Status: Needs work » Needs review
StatusFileSize
new1.11 KB
jeroent’s picture

StatusFileSize
new1.12 KB
jeroent’s picture

Hmm, well the tests don't even run anymore on PHP 7. Can someone test this patch and confirm this issue is fixed on PHP 7?

jeroent’s picture

jeroent’s picture

fjgarlin’s picture

Status: Needs review » Reviewed & tested by the community

Tested with PHP7.0.26. Before patch it wouldn't work and I'd get the above error, after the patch things work. Thanks!

  • JeroenT committed 9e1f1d7 on 8.x-1.x
    Issue #3159649 by JeroenT, Cangurin limpiezas, fjgarlin: version 8.x-1.3...
jeroent’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x-1.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.