Problem/Motivation
I keep getting this error PHP Fatal error: During class fetch: Uncaught ParseError: syntax error, unexpected '|', expecting ';' or '{' in my error log file and it cannot allow me run update.php in my browser.
The error is indicated in the screenshot attached below.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot 2024-05-14 at 10.08.57.png | 42.25 KB | thomas kaisuka |
Issue fork material_icons-3447016
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
abhishek_gupta1 commented@Thomas Kaisuka, I have fixed the issue and created MR. please review the once.
Comment #5
thomas kaisuka commentedThat has fixed it.
Line 116 too had a similar issue which i had to fix too
Comment #6
darvanenInstead of removing the typehint use
?stringinstead, which is supported.Comment #9
ayush.pandey commentedFixed the same by using the expected ?string instead of removing the condition in the MR
Comment #10
ayush.pandey commentedComment #11
darvanen!9 looks better, thanks @ayush.pandey
#5 remains unaddressed though.
Comment #13
atul_ghate commentedI have made changes as #5, please review
Comment #14
atul_ghate commentedI have made changes as per #5, please review
Comment #15
omkar-pd commentedComment #16
esha_kundu commentedHello,
The steps to reproduce the issue is'nt clear and I've explored the module but could'nt reproduce the reported bug.
Please update the issue summary.
Thanks
Comment #18
b_sharpe commentedFixed along with phpcs fixes. Thanks all.