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

Argument 1 passed to craft\web\twig\variables\Cp::field() must be of the type string, null given #1065

Closed
nickwanhere opened this issue Dec 3, 2021 · 1 comment · Fixed by #1066
Labels

Comments

@nickwanhere
Copy link

Description

Just upgraded to latest Craft CMS and Feedme. Error prevent me from creating new feed.

Steps to reproduce

  1. Go to Feedme
  2. Click create new

Additional info

  • Craft CMS version: 3.7.24
  • Feed Me version: 4.4.0
  • PHP version: 7.4.18
  • Database driver & version: MySQL 5.7.34

If edit templates/feeds/_edit.html
from
{{ forms.field({ label: "Import strategy"|t('feed-me'), instructions: 'Choose what happens when this feed is run again.'|t('feed-me'), id: 'duplicateHandle', }) }}

to
{{ forms.field({ label: "Import strategy"|t('feed-me'), instructions: 'Choose what happens when this feed is run again.'|t('feed-me'), id: 'duplicateHandle', },'') }}

then it could show normally.

@russback
Copy link

russback commented Dec 3, 2021

+1 for this on 4.4.0 after upgrading to Craft 3.7.24 today

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.

2 participants