Studio-42 / elFinder

📁 Open-source file manager for web, written in JavaScript using jQuery and jQuery UI
https://studio-42.github.io/elFinder/
Other
4.64k stars 1.41k forks source link

Php 7.4 curly braces error #3089

Closed anndro closed 4 years ago

anndro commented 4 years ago

local.ERROR: Array and string offset access syntax with curly braces is deprecated {"userId":1,"exception":"[object] (ErrorException(code: 0): Array and string offset access syntax with curly braces is deprecated at --/vendor/studio-42/elfinder/php/elFinder.class.php:2614)

nao-pon commented 4 years ago

@anndro Thank you to notification. This problem was fixed via this PR. Please wait release Version 2.1.52.

anndro commented 4 years ago

Problem occurs at version 2.1.10. But When I check latest commits, it fixed on master branch. But not published yet latest release 2.1.51. Manually fixed on php/elFinder.class.php file to change

if ($url{0} != '/') { // Relative path to if ($url[0] != '/') { // Relative path

anndro commented 4 years ago

@anndro Thank you to notification. This problem was fixed via this PR. Please wait release Version 2.1.52.

Thank you :)