Skip to content

Trying to access array offset on value of type null #647

@SergioWiesner

Description

@SergioWiesner

I have php 7.4.1 and laravel 6 and i try show a pdf with the option $pdf->stream(); but out this error:

Trying to access array offset on value of type null

Illuminate\Foundation\Bootstrap\HandleExceptions::handleError:1427
vendor/dompdf/dompdf/src/Css/Style.php:1427

protected function _get_border($side)
{
    $color = $this->__get("border_" . $side . "_color");
    return $this->__get("border_" . $side . "_width") . " " .
    **

$this->_get("border" . $side . "_style") . " " . $color["hex"];

**
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions