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

Illegal string offset 'hex' in /style.cls.php line 1419 #9

Open
nasy opened this issue Dec 28, 2014 · 0 comments
Open

Illegal string offset 'hex' in /style.cls.php line 1419 #9

nasy opened this issue Dec 28, 2014 · 0 comments

Comments

@nasy
Copy link

nasy commented Dec 28, 2014

Using php 5.4 or higher:

ContextErrorException: Warning: Illegal string offset 'hex' in /Applications/MAMP/htdocs/.../vendor/slik/dompdf-bundle/Slik/DompdfBundle/DomPDF/include/style.cls.php line 1419

The issue is in the version of dompdf used in this bundle:

$this->_props["color"] = $col["hex"];

This is fixed in dompdf 6.0. Is there a way to update the dompdf version using the bundle config (not changing the files manually) ?

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