-
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
TypeError: Argument #1 ($handle) Must Be String in Statamic Forms Import Command #389
Comments
Can you please provide the full stack trace, again inside backticks (``). |
@ryanmitchell |
At the moment we don't have enough to work with, as you've not shared the full error trace. If you could please provide it with anything confidential redacted then we can look into it further. |
@ryanmitchell |
Feel free to share it confidentially with [email protected]. Alternatively you can make a sample repository showing the issue without your protected data. |
This is a complete log for same project locally from log file I removed sensitive info. please tell me if this is enough or still need anything else
|
Thanks! |
I've opened a PR to address this issue - are you able to give it a go and see if it works for you? |
Bug description
What happened?
Running the command php please eloquent:import-forms and selecting to import form submissions results in a
TypeError. The error message indicates that Statamic\Fields\Blueprint::setHandle()
expects a string, but null was given.What did you expect to happen?
The forms and their submissions should be imported successfully without errors.
Error Output:
How to reproduce
Navigate to the project directory.
Run the following command:
php please eloquent:import-forms
When prompted:
Logs
No response
Environment
Additional details
this is one of the samples of forms submissions that give the issue
form blueprint:
form submission:
The text was updated successfully, but these errors were encountered: