Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Cannot use 'String' as class name as #15

Closed
bauralex opened this issue Sep 10, 2018 · 4 comments
Closed

Fatal error: Cannot use 'String' as class name as #15

bauralex opened this issue Sep 10, 2018 · 4 comments

Comments

@bauralex
Copy link

Hi

I have Contao 3.5.32 with PHP 7.1 and I get the following error when I open the frontend with the memberlist on it

Fatal error: Cannot use 'String' as class name as it is reserved in /home/hiltlch/www/dev.hiltl.ch/system/modules/core/library/Contao/String.php on line 28

I already changed String:: to StringUtil:: but that didn't work... Is there a workaround?

Thank you

Alex

@cliffparnitzky
Copy link
Member

What did you changed where?

@bauralex
Copy link
Author

bauralex commented Sep 10, 2018 via email

@cliffparnitzky
Copy link
Member

I was wondering because version 2.0.0 is compatible with PHP 7: https://github.com/friends-of-contao/contao-memberlist/releases/tag/2.0.0

I assume, you installed an older version. Please ensure the newest version is installed.

@bauralex
Copy link
Author

bauralex commented Sep 10, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants