Skip to content

Error in Encryption lib #29

@mateustsiqueira

Description

@mateustsiqueira

I'm having this issue:

Severity: Deprecated Notice Message: openssl_encrypt(): Passing null to parameter #1 ($data) of type string is deprecated Filename: libraries/Encryption.php Line Number: 482

I think my database has a null value at some point and I use $this->encryption->encrypt() in a null value (my fault). But I think the framework shouldn't throw an exception, it should handle this case. Its system\libraries\Encryption.php, at line 482, function _openssl_encrypt($data, $params). Maybe when $data is null or isn't a string, return a null value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions