-
Notifications
You must be signed in to change notification settings - Fork 77
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
BadMethodCallException: Undefined Method 'toModel()' in Statamic Forms Export Command #388
Comments
I'm not seeing this on my test install. Can you share the entire stack trace of your error, inside backticks (``) please? You've only given the first part of the error. |
I've just fixed the snippet you provided. Like Ryan says, please surround any code/stack traces with three backticks (`) at the start & end, otherwise it's really hard to read. |
Thank you for your feedback. Due to security policies, I am unable to share the entire stack trace. However, I can provide specific parts of the error or any relevant details that may help with troubleshooting. Let me know if you'd like me to proceed this way. |
Are you able to provide the stack trace but remove any references to the project? |
@duncanmcclean
|
The same PR should fix this - #390 |
Bug description
Running the command php please eloquent:export-forms results in a
BadMethodCallException. The error message indicates an undefined method: Statamic\Forms\Submission::toModel()
.What did you expect to happen?
The forms should be exported successfully without any errors.
Error Output:
How to reproduce
php please eloquent:export-forms
Logs
No response
Environment
Additional details
No response
The text was updated successfully, but these errors were encountered: