diff --git a/src/flextype/core/Cache/Drivers/Phparray/Driver.php b/src/flextype/core/Cache/Drivers/Phparray/Driver.php index eee5f9e7..389ca9c8 100644 --- a/src/flextype/core/Cache/Drivers/Phparray/Driver.php +++ b/src/flextype/core/Cache/Drivers/Phparray/Driver.php @@ -98,7 +98,7 @@ class Driver implements ExtendedCacheItemPoolInterface, AggregatablePoolInterfac * Force write */ try { - return $this->writefile($file_path, "getConfig()->isSecureFileManipulation()); + return $this->writefile($file_path, serializers()->phparray()->encode($data), $this->getConfig()->isSecureFileManipulation()); } catch (Exception $e) { return false; }