anvc / scalar

Born-digital, open source, media-rich scholarly publishing that’s as easy as blogging.
Other
231 stars 73 forks source link

Upload File for Import Media results in error #146

Closed mew2232 closed 3 years ago

mew2232 commented 3 years ago

Our Scalar installation recently developed a glitch and no longer will display the form to upload media files. (Forms for other types of media importation (ie. YouTube or Internet URL). We receive the following error message:

A PHP Error was encountered Severity: 8192 Message: Array and string offset access syntax with curly braces is deprecated Filename: amazon-s3-php-class/S3.php Line Number: 2574

Can you advise us on how to repair this?

eloyer commented 3 years ago

Appears to be the same as this issue. Downgrading to PHP 7.2 should fix for now.

craigdietrich commented 3 years ago

Note that there appears to be another PHP 7.4-related problem:

https://github.com/anvc/scalar/issues/148

craigdietrich commented 3 years ago

This should be corrected with our new Release

https://github.com/anvc/scalar/releases/tag/2.5.15