silverstripe / silverstripe-hybridsessions

Hybrid Cookie / DB Session store for Silverstripe
BSD 3-Clause "New" or "Revised" License
16 stars 21 forks source link

FIX Always return something #84

Closed emteknetnz closed 1 year ago

emteknetnz commented 1 year ago

Issue https://github.com/silverstripe/silverstripe-hybridsessions/issues/85

Fixes: error-log.ERROR: Uncaught Exception TypeError: "SilverStripe\HybridSessions\Store\CookieStore::read(): Return value must be of type string|false, none returned" at /sites/somesite/releases/somerelease/vendor/silverstripe/hybridsessions/src/Store/CookieStore.php line 113 {"exception":"[object] (TypeError(code: 0): SilverStripe\\HybridSessions\\Store\\CookieStore::read(): Return value must be of type string|false, none returned at /sites/somesite/releases/somerelease/vendor/silverstripe/hybridsessions/src/Store/CookieStore.php:113)"} []