Duncan McClean

Results 403 comments of Duncan McClean
trafficstars

Related: statamic/cms#3178

There seems to be two main errors showing in your log file: ``` [2024-04-08 14:55:19] production.ERROR: file_put_contents(C:\laragon\www\servers\statamic-staging\sound_org\storage\framework/cache/data/stache/indexes/entries/orders/status_log->paid): Failed to open stream: No such file or directory {"exception":"[object] (ErrorException(code: 0): file_put_contents(C:\\laragon\\www\\servers\\statamic-staging\\sound_org\\storage\\framework/cache/data/stache/indexes/entries/orders/status_log->paid):...

Are there any other errors being logged in your log file?

Can you provide the full stack trace so I can see where the error is coming from?

Thanks! Are you also able to provide your order blueprint?

Can you remove the `paid_date`/`placed_date`/`dispatched_date` fields to see if that fixes the issue? After migrating, the "Status Log" field will give you the relevant dates for each of the statuses.

I notice they were computed fields - did you remove the computed logic in your `AppServiceProvider`? Simple Commerce v6 changed how the order "status log" works behind the scenes, so...

> Is there instruction on handling the Status Log array to display as individual fields? I'd actually probably recommend doing it the way you were with the computed fields but...

Thanks - got it! I'll take a look when I'm able.

Thanks for providing your site! Looks like orders with deleted product line items were causing an infinite loop - updating to the latest version should fix it. If you run...