Closed edalzell closed 2 weeks ago
FYI, this is preventing our largest customer from using the system, if I can help debug/fix in anyway, please let me know.
This is similar to an issue I opened (got moved to discussions) -> https://github.com/statamic-rad-pack/runway/discussions/544
I'll take a look today 👍
Description
I have a model Orphan, with a
has_many
updates
. That OrphanUpdate resource/model has abelongs_to
field pointing to Orphan.When I open the update in the Orphan via the stack
And try to save, I get an error due to this SQL:
It's due to this code:
Steps to reproduce
Environment
Environment Application Name: Zakat Foundation of America Laravel Version: 11.14.0 PHP Version: 8.3.8 Composer Version: 2.7.6 Environment: local Debug Mode: ENABLED URL: zakat.test Maintenance Mode: OFF Timezone: America/Los_Angeles Locale: en
Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: CACHED
Drivers Broadcasting: null Cache: file Database: mysql Logs: stack / daily Mail: smtp Queue: sync Session: file
Livewire Livewire: v3.5.2
Statamic Addons: 13 Sites: 3 (zakat.org (EN), zakat.org (AR), zfinstitute.com (ZFI)) Stache Watcher: Disabled Static Caching: Disabled Version: 5.12.0 PRO
Statamic Addons aryehraber/statamic-captcha: 1.12.0 edalzell/forma: 3.0.1 jacksleight/statamic-bard-mutator: 2.3.1 jacksleight/statamic-distill: 0.7.2 jonassiewertsen/statamic-livewire: 3.6.0 statamic-rad-pack/runway: 7.5.2 statamic/seo-pro: 6.0.3 transformstudios/events: 5.4.3 transformstudios/front: 3.0.1 transformstudios/github: dev-main transformstudios/neon: dev-main transformstudios/review: 5.0 transformstudios/simple: 5.1.9