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

Twig runtime error when running in Craft 3.4 beta #643

Closed
membla opened this issue Dec 13, 2019 · 5 comments · Fixed by #644
Closed

Twig runtime error when running in Craft 3.4 beta #643

membla opened this issue Dec 13, 2019 · 5 comments · Fixed by #644

Comments

@membla
Copy link

membla commented Dec 13, 2019

Description

Acessing /cp/feed-me/feeds on Craft 3.4 beta throws a Twig runtime error:

Impossible to access a key ("craft\elements\Entry") on a string variable ("{"craft\\elements\\Asset":"","craft\\elements\\Category":"","craft\\elements\\Entry":{"section":"6","entryType":"6"}}").

@klick
Copy link

klick commented Dec 16, 2019

Same here and this seems to prevent content from being imported too.

{"date":"2019-12-17 10:45:05","type":"error","message":"Feed Title: 'Field mapping not setup. - Process.php: 94'."}

@timkelty
Copy link
Contributor

Yep, here too.

@timkelty
Copy link
Contributor

@membla @klick if anyone needs this before my PR gets merged, you can put this in your composer.json:

"craftcms/feed-me": "dev-fix-createModelFromRecord-for-3.4",

and

  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/timkelty/feed-me"
    }
  ]

@klick
Copy link

klick commented Dec 19, 2019

Thank you, sir.

@brandonkelly
Copy link
Member

Feed Me 4.2.0 is out now with this fix. Thanks @timkelty!

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

Successfully merging a pull request may close this issue.

4 participants