You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error "Array and string offset access syntax with curly braces is no longer supported" in page moodle-url.com/question/bank/importquestions/import.php.
Moodle 4.1, PHP 8.1.
This syntax was deprecated since PHP 7.4.
format.php:381: } else if ($answertext{0} == '#') {
must be: } else if ($answertext[0] == '#') {
Please, fix it in repository for other moodlers ;)
The text was updated successfully, but these errors were encountered:
I get this error "Array and string offset access syntax with curly braces is no longer supported" in page moodle-url.com/question/bank/importquestions/import.php.
Moodle 4.1, PHP 8.1.
This syntax was deprecated since PHP 7.4.
format.php:381:
} else if ($answertext{0} == '#') {
must be:
} else if ($answertext[0] == '#') {
Please, fix it in repository for other moodlers ;)
The text was updated successfully, but these errors were encountered: