You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return value of Phpfastcache\Drivers\Files\Driver::readfile() must be of the type string, boolean returned
vendor/phpfastcache/phpfastcache/lib/Phpfastcache/Core/Pool/IO/IOHelperTrait.php in readfile at line 259
{
if (\function_exists('file_get_contents')) {
return \file_get_contents($file);
}
To Reproduce
Happens really rarely ( 0.01...% percent )
Expected behavior
well it should throw at least an exception with why it couldnt read file content.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Configuration
PHP 7.2.19-1+0~20190531112637.22+stretch~1.gbp75765b (cli) (built: May 31 2019 11:26:38) ( NTS )
Describe the bug
Return value of Phpfastcache\Drivers\Files\Driver::readfile() must be of the type string, boolean returned
To Reproduce
Happens really rarely ( 0.01...% percent )
Expected behavior
well it should throw at least an exception with why it couldnt read file content.
Also config for Files driver
Oh and i tried printing out what was the error with error_get_last. it returns that
failed to open stream: No such file or directory
The text was updated successfully, but these errors were encountered: