Closed Web10-Joris closed 4 months ago
Hmm, I can't seem to reproduce this myself using the latest version of SC & Runway.
In vendor/statamic-rad-pack/runway/src/Fieldtypes/BaseFieldtype.php
, on line 220, can you add the following code, try again and paste a screenshot of what you see?
dd($this->config('resource'), $model, $eagerLoadingRelationships);
See screenshot below :)
Hmm, that's odd. None of those values look like they'd be causing that error. 🤔
I don't suppose you're able to give me access to your site repository and I can figure out the problem at some point this week?
I'll try to recreate it on another environment this week, will share you the repository soon!
Description
Hi Duncan, I recently updated again to the most recent versions of Runway & SC, but facing this error (stacktrace below) now on a cart update action when I fill in all the billing/shipping details.
I'm not sure if this error is more related to Runway, but the origin is Simple Commerce. Let me know if you need more information or tests to debug more.
This was the post body for the {{ sc:cart:update }} form send using axios:
Full stacktrace:
Steps to reproduce
Environment
Application Name: XXX Laravel Version: 10.44.0 PHP Version: 8.1.5 Composer Version: 2.5.5 Environment: local Debug Mode: ENABLED URL: localhost/ Maintenance Mode: OFF
Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: NOT CACHED
Drivers Broadcasting: log Cache: statamic Database: mysql Logs: stack / single Mail: smtp Queue: sync Session: file
Simple Commerce Currencies: EUR, EUR, EUR, EUR Gateways: Mollie Repository: Customer: DuncanMcClean\SimpleCommerce\Customers\EloquentCustomerRepository Repository: Order: DuncanMcClean\SimpleCommerce\Orders\EloquentOrderRepository Repository: Product: DuncanMcClean\SimpleCommerce\Products\EntryProductRepository Shipping Methods: Pallet, International Tax Engine: App\SimpleCommerce\CompanyTaxEngine
Statamic Addons: 6 Antlers: runtime Sites: 4 (Nederlands, Duits, Engels, Pools) Stache Watcher: Enabled Static Caching: Disabled Version: 4.48.0 PRO
Statamic Addons aerni/advanced-seo: 2.4.3 appswithlove/statamic-one-click-content-translation: 4.35.0 duncanmcclean/simple-commerce: 6.0.7 heidkaemper/statamic-toolbar: 1.1.2 statamic-rad-pack/runway: 6.2.0 statamic/collaboration: 0.8.1