This is probably something on my end but I'm getting an error where if I turn SAVE_CACHED_IMAGES to false I get the following error:
Unable to read file from location: containers/assets/img/...file.jpg.
I ran php please responsive:regenerate previously and can confirm that the file that's throwing the error does exist. I'm wondering if the addon should be referencing img/containers/assets/img/...file.jpg instead? In assets.php I've got 'cache_path' => public_path('img'), so I'd think that would resolve that?
Thanks for your help!
final class UnableToReadFile extends RuntimeException implements FilesystemOperationFailed
{
/**
* @var string
*/
private $location = '';
/**
* @var string
*/
private $reason = '';
public static function fromLocation(string $location, string $reason = '', Throwable $previous = null): UnableToReadFile
{
$e = new static(rtrim("Unable to read file from location: {$location}. {$reason}"), 0, $previous);
$e->location = $location;
$e->reason = $reason;
return $e;
}
public function operation(): string
{
return FilesystemOperationFailed::OPERATION_READ;
}
public function reason(): string
{
return $this->reason;
This is probably something on my end but I'm getting an error where if I turn
SAVE_CACHED_IMAGEStofalseI get the following error:Unable to read file from location: containers/assets/img/...file.jpg.I ran
php please responsive:regeneratepreviously and can confirm that the file that's throwing the error does exist. I'm wondering if the addon should be referencingimg/containers/assets/img/...file.jpginstead? In assets.php I've got'cache_path' => public_path('img'),so I'd think that would resolve that?Thanks for your help!