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
The error does not appear after temporary changing the line to:
$isNew = true;
I have put this issue in the statamic/cms repo as the issue seems to be caused by a change in here. Just let me know if I have to move it to eloquent-driver.
How to reproduce
Set STATAMIC_STACHE_WATCHER=false in your .env file.
Install eloquent-driver and set the asset driver to eloquent.
The text was updated successfully, but these errors were encountered:
vluijkx
changed the title
Error when uploading images with eloquent-driver and stache file watcher enabled.
Error when uploading images with eloquent-driver and stache file watcher disabled.
Mar 29, 2024
I'm not able to reproduce this issue myself - I've tested both with and without the Eloquent Driver.
It looks like you're running an old version of the Eloquent Driver though - the latest is v3.3.3. It might be worth upgrading in case that resolves the issue.
If that doesn't help, leave a comment on statamic/eloquent-driver#246 (which is related to the same issue) and we can re-open. Thanks!
Bug description
PR #9378 might have introduced a bug. We have been getting the following error whenever we upload images with
STATAMIC_STACHE_WATCHER
disabled:The issue seems to be caused by this line of code:
cms/src/Assets/Asset.php
Line 606 in c2c5fe7
The error does not appear after temporary changing the line to:
I have put this issue in the
statamic/cms
repo as the issue seems to be caused by a change in here. Just let me know if I have to move it toeloquent-driver
.How to reproduce
STATAMIC_STACHE_WATCHER=false
in your.env
file.eloquent-driver
and set the asset driver toeloquent
.Logs
Environment
Installation
Existing Laravel app
Antlers Parser
None
Additional details
No response
The text was updated successfully, but these errors were encountered: