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

curly braces #1523

Open
Philip-Wittamore opened this issue Aug 18, 2023 · 1 comment
Open

curly braces #1523

Philip-Wittamore opened this issue Aug 18, 2023 · 1 comment

Comments

@Philip-Wittamore
Copy link

Philip-Wittamore commented Aug 18, 2023

Describe your problem

Impossible to install on php 8+
install.php doesn't display - white page

Steps to reproduce the problem

install Bludit with php 8+

Steps to fix the problem

Curly braces in bl-kernel/helpers/text.class.php on line 119
change $text .= $characteres{rand(0,41)};
to $text .= $characteres[rand(0,41)];

Bludit version

3.8.1, 3.15.1

PHP version

8.2.8

PHP logs

@dignajar
Copy link
Member

@Philip-Wittamore the code is written as you mentioned, https://github.com/bludit/bludit/blob/v3.0/bl-kernel/helpers/text.class.php#L119

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

No branches or pull requests

2 participants