Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined method using top_customers widget #1082

Closed
jacksleight opened this issue May 29, 2024 · 1 comment · Fixed by #1088
Closed

Call to undefined method using top_customers widget #1082

jacksleight opened this issue May 29, 2024 · 1 comment · Fixed by #1088
Labels

Comments

@jacksleight
Copy link
Contributor

Description

Running into this error when using the top_customers widget:

Call to undefined method DuncanMcClean\SimpleCommerce\Customers\UserCustomerRepository::fromModel()

Steps to reproduce

Add the top_customers widget. I assume this is only happening when customers are users.

Environment

Statamic
Addons: 10
Sites: 1
Stache Watcher: Disabled
Static Caching: Disabled
Version: 5.6.0 PRO

Statamic Addons
duncanmcclean/guest-entries: 4.0.1
duncanmcclean/simple-commerce: 7.2.0
jacksleight/statamic-bard-texstyle: 3.2.2
jonassiewertsen/statamic-livewire: 3.3.1
statamic-rad-pack/runway: 7.1.0
stillat/relationships: 2.2.0
studio1902/statamic-peak-browser-appearance: 3.4.1
studio1902/statamic-peak-commands: 3.2.0
studio1902/statamic-peak-seo: 7.5.0
studio1902/statamic-peak-tools: 4.4.2

Copy link

Released as part of v7.2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant