Skip to content

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

Description

@nasy

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) ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions