Skip to content

Cannot assign null to property Nette\Caching\Storages\SQLiteJournal::$pdo of type PDO when running tests #37

@Snooker147

Description

@Snooker147

Hello,

after upgrading to the newest version of Nette caching library and running codeception tests I now get the following error:
Cannot assign null to property Nette\Caching\Storages\SQLiteJournal::$pdo of type PDO right after the tests are finished.

This looks to be an issue with the latest Nette\Caching commit here which does no longer allow the $pdo property to be nullable.

Detailed error stacktrace:
image

I switched to a prior version without that commit (Nette\Caching v3.1.4) and the error no longer appears. Can we get this fixed please, so that we can use the newest Nette\Caching version?

Thanks!

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