Hello:
To active 'Adminic Toolbar' in admin user shows white screen.

ParseError: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in Composer\Autoload\includeFile() (line 22 of modules/contrib/adminic_toolbar/src/ToolbarPrimarySectionTabsManager.php).

install from composer: composer require 'drupal/adminic_toolbar:^1.0'

Thanks for help and module

CommentFileSizeAuthor
#4 private_const-2962020-2.patch4.16 KBjakubhnilicka

Comments

Chismen created an issue. See original summary.

jakubhnilicka’s picture

Hi, thank you for the report. It looks like private before const is problem. https://stackoverflow.com/questions/10163871/why-did-i-get-this-error/10...
I will produce patch for it and will ask you if you can try it?

jakubhnilicka’s picture

Status: Active » Needs work
jakubhnilicka’s picture

StatusFileSize
new4.16 KB

Removed private before const.

jakubhnilicka’s picture

Status: Needs work » Needs review
chismen’s picture

Ok, with the patch works.
Thanks

jakubhnilicka’s picture

Thank you, I will create new release soon.

jakubhnilicka’s picture

Status: Needs review » Fixed
jakubhnilicka’s picture

Status: Fixed » Closed (fixed)