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

PHP errors in read mode "Array and string offset access syntax with curly braces is no longer supported" #13

Open
Lab-8916100448256 opened this issue Jul 2, 2024 · 0 comments

Comments

@Lab-8916100448256
Copy link
Contributor

With recent version of PHP, when accessing a libreto in read mode there are errors like the following :

PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /var/www/libreto/libreto/libreto/vendor/htmlpurifier/library/HTMLPurifier/TagTransform/Font.php on line 78"

I tried using the latest version of HTMLPurifier but it lead to other errors.
Using this commit of the library fixed the errors : ezyang/htmlpurifier@b88fcd1

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

1 participant